Changed ItemSpawner to EntitySpawner, used for syncing both item and character spawning
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Barotrauma.Networking
|
||||
public UInt32 lastSentChatMsgID = 0; //last msg this client said
|
||||
public UInt32 lastRecvChatMsgID = 0; //last msg this client knows about
|
||||
|
||||
public UInt32 lastRecvItemSpawnID = 0;
|
||||
public UInt32 lastRecvEntitySpawnID = 0;
|
||||
public UInt32 lastRecvItemRemoveID = 0;
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace Barotrauma.Networking
|
||||
lastSentChatMsgID = 0;
|
||||
lastRecvChatMsgID = ChatMessage.LastID;
|
||||
|
||||
lastRecvItemSpawnID = 0;
|
||||
lastRecvEntitySpawnID = 0;
|
||||
lastRecvItemRemoveID = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user