Fix artifact spawns parenting to players (#36745)

This commit is contained in:
Nemanja
2025-04-19 21:00:49 -04:00
committed by GitHub
parent f04f19a7aa
commit 07e21c6516

View 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);
}
}
}