From 117dc7bb441daa4870b95e2a28efdea66811e9ac Mon Sep 17 00:00:00 2001 From: Metal Gear Sloth Date: Mon, 29 Mar 2021 23:00:05 +1100 Subject: [PATCH] Fix atmos byte cast Thanks rider --- Content.Server/Atmos/TileAtmosphere.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Atmos/TileAtmosphere.cs b/Content.Server/Atmos/TileAtmosphere.cs index f65321bd99..dbc606bab2 100644 --- a/Content.Server/Atmos/TileAtmosphere.cs +++ b/Content.Server/Atmos/TileAtmosphere.cs @@ -739,7 +739,7 @@ namespace Content.Server.Atmos } 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)