Removing & spawning entities in the same order as the server, EntitySpawner does both removing and spawning
This commit is contained in:
@@ -12,7 +12,6 @@ namespace Barotrauma
|
||||
private static Dictionary<ushort, Entity> dictionary = new Dictionary<ushort, Entity>();
|
||||
|
||||
public static EntitySpawner Spawner = new EntitySpawner();
|
||||
public static EntityRemover Remover = new EntityRemover();
|
||||
|
||||
private ushort id;
|
||||
|
||||
|
||||
@@ -270,7 +270,6 @@ namespace Barotrauma
|
||||
}
|
||||
|
||||
Entity.Spawner.Update();
|
||||
Entity.Remover.Update();
|
||||
}
|
||||
|
||||
public virtual void Update(Camera cam, float deltaTime) { }
|
||||
|
||||
Reference in New Issue
Block a user