Skip to content

Commit

Permalink
Update AtmosphereSystem.Hotspot.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Roudenn authored Jan 19, 2025
1 parent 4f46749 commit f66cae8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private void ProcessHotspot(
return;
}

if (tile.ExcitedGroup != null) // backmen: gas
if(tile.ExcitedGroup != null)
ExcitedGroupResetCooldowns(tile.ExcitedGroup);

if ((tile.Hotspot.Temperature < Atmospherics.FireMinimumTemperatureToExist) || (tile.Hotspot.Volume <= 1f)
Expand Down Expand Up @@ -92,14 +92,14 @@ private void ProcessHotspot(
if (otherTile == null)
continue;

if (!otherTile.Hotspot.Valid) // backmen: gas
if(!otherTile.Hotspot.Valid)
HotspotExpose(gridAtmosphere, otherTile, radiatedTemperature, Atmospherics.CellVolume / 4); // backmen: gas
}
}
}
else
{
tile.Hotspot.State = (byte)(tile.Hotspot.Volume > Atmospherics.CellVolume * 0.4f ? 2 : 1); // backmen: gas
tile.Hotspot.State = (byte) (tile.Hotspot.Volume > Atmospherics.CellVolume * 0.4f ? 2 : 1);
}

if (tile.Hotspot.Temperature > tile.MaxFireTemperatureSustained)
Expand Down

0 comments on commit f66cae8

Please sign in to comment.