Changed ItemSpawner to EntitySpawner, used for syncing both item and character spawning
This commit is contained in:
@@ -11,6 +11,7 @@ namespace Barotrauma
|
||||
{
|
||||
private static Dictionary<ushort, Entity> dictionary = new Dictionary<ushort, Entity>();
|
||||
|
||||
public static EntitySpawner Spawner = new EntitySpawner();
|
||||
|
||||
private ushort id;
|
||||
|
||||
|
||||
@@ -269,7 +269,7 @@ namespace Barotrauma
|
||||
item.Update(cam, deltaTime);
|
||||
}
|
||||
|
||||
Item.Spawner.Update();
|
||||
Entity.Spawner.Update();
|
||||
Item.Remover.Update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user