]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Change SpawnerSystem to use SpawnAtPosition instead of Spawn (#22800)
authorDrSmugleaf <DrSmugleaf@users.noreply.github.com>
Thu, 21 Dec 2023 06:39:57 +0000 (22:39 -0800)
committerGitHub <noreply@github.com>
Thu, 21 Dec 2023 06:39:57 +0000 (23:39 -0700)
Content.Server/Spawners/EntitySystems/SpawnerSystem.cs

index c6e34c184847a73950e135e0b18ee752f8613d72..c601fdd2875d90e984e1f978517e1aefc24f2e01 100644 (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);
         }
     }