Resetting EntityEvent & EntitySpawner IDs when starting a new round, LOS effect is enabled when a client takes control of a character

This commit is contained in:
Regalis
2017-01-09 18:22:37 +02:00
parent a75ef8ee51
commit ff96f152ce
6 changed files with 15 additions and 2 deletions

View File

@@ -120,6 +120,8 @@ namespace Barotrauma.Networking
{
ID = 0;
lastReceivedID = 0;
events.Clear();
eventLastSent.Clear();
}