From: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Date: Sun, 20 Apr 2025 01:00:49 +0000 (-0400) Subject: Fix artifact spawns parenting to players (#36745) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=07e21c65169327d87dfb93338191f5a1e83c17e4;p=space-station-14.git Fix artifact spawns parenting to players (#36745) --- diff --git a/Content.Server/Spawners/EntitySystems/ConditionalSpawnerSystem.cs b/Content.Server/Spawners/EntitySystems/ConditionalSpawnerSystem.cs index ad59fc83cf..7331894bcf 100644 --- a/Content.Server/Spawners/EntitySystems/ConditionalSpawnerSystem.cs +++ b/Content.Server/Spawners/EntitySystems/ConditionalSpawnerSystem.cs @@ -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); } } }