- a WIP attempt to correct the position of the controlled character based on updates from the server
- fixed server not being able to move character controllers - renamed IsNetworkPlayer -> IsRemotePlayer
This commit is contained in:
@@ -427,7 +427,7 @@ namespace Barotrauma
|
||||
characterIndex = -1;
|
||||
}
|
||||
|
||||
var matchingCharacters = Character.CharacterList.FindAll(c => !c.IsNetworkPlayer && c.Name.ToLowerInvariant() == characterName);
|
||||
var matchingCharacters = Character.CharacterList.FindAll(c => !c.IsRemotePlayer && c.Name.ToLowerInvariant() == characterName);
|
||||
|
||||
if (!matchingCharacters.Any())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user