Fix artifact spawns parenting to players (#36745)
This commit is contained in:
@@ -135,7 +135,7 @@ namespace Content.Server.Spawners.EntitySystems
|
|||||||
var yOffset = _robustRandom.NextFloat(-ent.Comp.Offset, ent.Comp.Offset);
|
var yOffset = _robustRandom.NextFloat(-ent.Comp.Offset, ent.Comp.Offset);
|
||||||
var trueCoords = coords.Offset(new Vector2(xOffset, yOffset));
|
var trueCoords = coords.Offset(new Vector2(xOffset, yOffset));
|
||||||
|
|
||||||
Spawn(proto, trueCoords);
|
SpawnAtPosition(proto, trueCoords);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user