Gameticking warnings cleanup (#36193)
This commit is contained in:
@@ -427,7 +427,7 @@ namespace Content.Server.GameTicking
|
||||
// Ideally engine would just spawn them on grid directly I guess? Right now grid traversal is handling it during
|
||||
// update which means we need to add a hack somewhere around it.
|
||||
var spawn = _robustRandom.Pick(_possiblePositions);
|
||||
var toMap = spawn.ToMap(EntityManager, _transform);
|
||||
var toMap = _transform.ToMapCoordinates(spawn);
|
||||
|
||||
if (_mapManager.TryFindGridAt(toMap, out var gridUid, out _))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user