Change SpawnerSystem to use SpawnAtPosition instead of Spawn (#22800)
This commit is contained in:
@@ -33,7 +33,7 @@ public sealed class SpawnerSystem : EntitySystem
|
|||||||
for (var i = 0; i < number; i++)
|
for (var i = 0; i < number; i++)
|
||||||
{
|
{
|
||||||
var entity = _random.Pick(component.Prototypes);
|
var entity = _random.Pick(component.Prototypes);
|
||||||
Spawn(entity, coordinates);
|
SpawnAtPosition(entity, coordinates);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user