Adds Invalidate method to TileAtmosphere, clean up a bunch of tile invalidations

This commit is contained in:
Vera Aguilera Puerto
2020-12-08 17:36:59 +01:00
parent 656eb7dc2e
commit 2b6964746c
10 changed files with 19 additions and 20 deletions

View File

@@ -55,7 +55,7 @@ namespace Content.Server.Commands.Atmos
foreach (var tile in gam)
{
tile.Air?.AdjustMoles(gasId, moles);
gam.Invalidate(tile.GridIndices);
tile.Invalidate();
}
}
}