From 082a5945e3776ef77a055619be806d53ab4c2d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Sun, 2 Aug 2020 20:19:01 +0200 Subject: [PATCH] Fix missing null conditional --- 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 24d264d2b5..f92cfc3950 100644 --- a/Content.Server/Atmos/TileAtmosphere.cs +++ b/Content.Server/Atmos/TileAtmosphere.cs @@ -467,7 +467,7 @@ namespace Content.Server.Atmos foreach (var direction in Cardinal) { if (!tile._adjacentTiles.TryGetValue(direction, out var tile2)) continue; - if (tile2?.Air.Compare(Air) == GasMixture.GasCompareResult.NoExchange) continue; + if (tile2?.Air?.Compare(Air) == GasMixture.GasCompareResult.NoExchange) continue; _gridAtmosphereComponent.AddActiveTile(tile2); break; }