Code Cleanup: Purge obsolete MapManager methods (#26279)
* GetGrid * GridExists * TryGetGrid
This commit is contained in:
@@ -116,7 +116,7 @@ public sealed class FloorTileSystem : EntitySystem
|
||||
}
|
||||
}
|
||||
}
|
||||
_mapManager.TryGetGrid(location.EntityId, out var mapGrid);
|
||||
TryComp<MapGridComponent>(location.EntityId, out var mapGrid);
|
||||
|
||||
foreach (var currentTile in component.OutputTiles)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user