Adds Invalidate method to TileAtmosphere, clean up a bunch of tile invalidations
This commit is contained in:
@@ -1177,6 +1177,14 @@ namespace Content.Server.Atmos
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Calls <see cref="GridAtmosphereComponent.Invalidate"/> on this tile atmosphere's position.
|
||||
/// </summary>
|
||||
public void Invalidate()
|
||||
{
|
||||
_gridAtmosphereComponent.Invalidate(GridIndices);
|
||||
}
|
||||
|
||||
private void LastShareCheck()
|
||||
{
|
||||
var lastShare = Air.LastShare;
|
||||
|
||||
Reference in New Issue
Block a user