]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix artifact spawns parenting to players (#36745)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Sun, 20 Apr 2025 01:00:49 +0000 (21:00 -0400)
committerGitHub <noreply@github.com>
Sun, 20 Apr 2025 01:00:49 +0000 (11:00 +1000)
Content.Server/Spawners/EntitySystems/ConditionalSpawnerSystem.cs

index ad59fc83cfa97a1a6219c6acdec81644be4697c2..7331894bcf8b883b447276cb670eb673f59b44e9 100644 (file)
@@ -135,7 +135,7 @@ namespace Content.Server.Spawners.EntitySystems
                 var yOffset = _robustRandom.NextFloat(-ent.Comp.Offset, ent.Comp.Offset);
                 var trueCoords = coords.Offset(new Vector2(xOffset, yOffset));
 
-                Spawn(proto, trueCoords);
+                SpawnAtPosition(proto, trueCoords);
             }
         }
     }