Code cleanup: Purge calls to obsolete EntityCoordinates methods (#26292)
* Purge calls to obsolete EntityCoordinates methods * Pizza defruited; rerun those tests!
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Content.Shared.Spawning
|
||||
SharedPhysicsSystem? physicsManager = null)
|
||||
{
|
||||
physicsManager ??= entityManager.System<SharedPhysicsSystem>();
|
||||
var mapCoordinates = coordinates.ToMap(entityManager);
|
||||
var mapCoordinates = coordinates.ToMap(entityManager, entityManager.System<SharedTransformSystem>());
|
||||
|
||||
return entityManager.SpawnIfUnobstructed(prototypeName, mapCoordinates, collisionLayer, box, physicsManager);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user