From 07e21c65169327d87dfb93338191f5a1e83c17e4 Mon Sep 17 00:00:00 2001 From: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Date: Sat, 19 Apr 2025 21:00:49 -0400 Subject: [PATCH] Fix artifact spawns parenting to players (#36745) --- .../Spawners/EntitySystems/ConditionalSpawnerSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } }