Change SpawnerSystem to use SpawnAtPosition instead of Spawn (#22800)

This commit is contained in:
DrSmugleaf
2023-12-20 22:39:57 -08:00
committed by GitHub
parent b3225425ae
commit 6fce623981

View File

@@ -33,7 +33,7 @@ public sealed class SpawnerSystem : EntitySystem
for (var i = 0; i < number; i++)
{
var entity = _random.Pick(component.Prototypes);
Spawn(entity, coordinates);
SpawnAtPosition(entity, coordinates);
}
}