CVar for explosive depressurization tile ripping.

This commit is contained in:
Vera Aguilera Puerto
2021-07-23 13:07:48 +02:00
parent 07c478afb6
commit da25266dd5
8 changed files with 29 additions and 25 deletions

View File

@@ -41,7 +41,7 @@ namespace Content.Server.Atmos.EntitySystems
return;
}
PerformHotspotExposure(gridAtmosphere, tile);
PerformHotspotExposure(tile);
if (tile.Hotspot.Bypassing)
{
@@ -118,7 +118,7 @@ namespace Content.Server.Atmos.EntitySystems
}
}
private void PerformHotspotExposure(GridAtmosphereComponent gridAtmosphere, TileAtmosphere tile)
private void PerformHotspotExposure(TileAtmosphere tile)
{
if (tile.Air == null || !tile.Hotspot.Valid) return;