ItemRemover -> EntityRemover, clients reset spawner & remover when starting a new round
This commit is contained in:
@@ -12,6 +12,7 @@ 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,7 @@ namespace Barotrauma
|
||||
}
|
||||
|
||||
Entity.Spawner.Update();
|
||||
Item.Remover.Update();
|
||||
Entity.Remover.Update();
|
||||
}
|
||||
|
||||
public virtual void Update(Camera cam, float deltaTime) { }
|
||||
|
||||
Reference in New Issue
Block a user