mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
Code Cleanup: Purge obsolete MapManager methods (#26279)
* GetGrid
* GridExists
* TryGetGrid
(cherry picked from commit ae3d745430)
This commit is contained in:
@@ -23,7 +23,7 @@ public sealed partial class ExplosionSystem : EntitySystem
|
||||
/// </summary>
|
||||
private void OnGridStartup(GridStartupEvent ev)
|
||||
{
|
||||
var grid = _mapManager.GetGrid(ev.EntityUid);
|
||||
var grid = Comp<MapGridComponent>(ev.EntityUid);
|
||||
|
||||
Dictionary<Vector2i, NeighborFlag> edges = new();
|
||||
_gridEdges[ev.EntityUid] = edges;
|
||||
|
||||
Reference in New Issue
Block a user