Removing & spawning entities in the same order as the server, EntitySpawner does both removing and spawning

This commit is contained in:
Regalis
2016-10-26 16:44:59 +03:00
parent df9f89e383
commit 6f9160e4a7
13 changed files with 91 additions and 150 deletions

View File

@@ -37,8 +37,6 @@ namespace Barotrauma.Networking
public UInt32 lastRecvChatMsgID = 0; //last msg this client knows about
public UInt32 lastRecvEntitySpawnID = 0;
public UInt32 lastRecvEntityRemoveID = 0;
public List<string> ChatMessages = new List<string>();
public float ChatSpamSpeed;
@@ -64,7 +62,6 @@ namespace Barotrauma.Networking
lastRecvChatMsgID = ChatMessage.LastID;
lastRecvEntitySpawnID = 0;
lastRecvEntityRemoveID = 0;
}
public int KickVoteCount