From: DrSmugleaf Date: Thu, 21 Dec 2023 06:39:57 +0000 (-0800) Subject: Change SpawnerSystem to use SpawnAtPosition instead of Spawn (#22800) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=6fce623981268c4cc02b923beabe3b53125a2dcd;p=space-station-14.git Change SpawnerSystem to use SpawnAtPosition instead of Spawn (#22800) --- diff --git a/Content.Server/Spawners/EntitySystems/SpawnerSystem.cs b/Content.Server/Spawners/EntitySystems/SpawnerSystem.cs index c6e34c1848..c601fdd287 100644 --- a/Content.Server/Spawners/EntitySystems/SpawnerSystem.cs +++ b/Content.Server/Spawners/EntitySystems/SpawnerSystem.cs @@ -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); } }