Basic player input syncing
There's currently a bug where the inputs might be read out of order or more than once, which leads to desync. I'll feel really dumb when I find what's going on here. Also, I'm using placeholder player spawning because CharacterInfo doesn't seem to be fully functional yet.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace Barotrauma.Networking
|
||||
public NetConnection Connection { get; set; }
|
||||
public string version;
|
||||
public bool inGame;
|
||||
public UInt32 lastRecvLobbyUpdate = 0;
|
||||
public UInt32 lastRecvGeneralUpdate = 0;
|
||||
|
||||
public bool hasLobbyData = false;
|
||||
public UInt32 lastSentChatMsgID = 0; //last msg this client said
|
||||
|
||||
Reference in New Issue
Block a user