Hotspot passes MapManager to GetTileRef.

This commit is contained in:
Vera Aguilera Puerto
2021-07-26 11:28:43 +02:00
parent 86cecd3b5e
commit 5d929485ed

View File

@@ -140,7 +140,7 @@ namespace Content.Server.Atmos.EntitySystems
Merge(tile.Air, affected);
}
var tileRef = tile.GridIndices.GetTileRef(tile.GridIndex);
var tileRef = tile.GridIndices.GetTileRef(tile.GridIndex, _mapManager);
foreach (var entity in tileRef.GetEntitiesInTileFast())
{