Fix atmos byte cast

Thanks rider
This commit is contained in:
Metal Gear Sloth
2021-03-29 23:00:05 +11:00
parent fd1012d0d2
commit 117dc7bb44

View File

@@ -739,7 +739,7 @@ namespace Content.Server.Atmos
} }
else else
{ {
Hotspot.State = Hotspot.Volume > Atmospherics.CellVolume * 0.4f ? 2 : 1; Hotspot.State = (byte) (Hotspot.Volume > Atmospherics.CellVolume * 0.4f ? 2 : 1);
} }
if (Hotspot.Temperature > MaxFireTemperatureSustained) if (Hotspot.Temperature > MaxFireTemperatureSustained)