Fixed input order execution + Controller direction syncing

It was a dumb mistake indeed, now the player's movement is a lot less erratic. There's some very minor desync, though I might've just tested it incorrectly.
This commit is contained in:
juanjp600
2016-09-24 18:11:09 -03:00
parent 84ce612d06
commit 5567dff1c9
2 changed files with 18 additions and 3 deletions

View File

@@ -849,6 +849,7 @@ namespace Barotrauma.Networking
DebugConsole.NewMessage(Convert.ToString(spawnPosition.X) + "," + Convert.ToString(spawnPosition.Y), Color.Lime);
Character spawnedCharacter = Character.Create(Character.HumanConfigFile, spawnPosition, null, true, false);
spawnedCharacter.AnimController.Frozen = true;
c.Character = spawnedCharacter;
GameMain.GameSession.CrewManager.characters.Add(c.Character);