From ca923866ff1931eb1e90596fb061bd913cd76138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Sat, 17 Oct 2020 18:02:56 +0200 Subject: [PATCH] Fix AirBlocked not being taken into account in airflow blocked calculations. --- .../GameObjects/Components/Atmos/GridAtmosphereComponent.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/GameObjects/Components/Atmos/GridAtmosphereComponent.cs b/Content.Server/GameObjects/Components/Atmos/GridAtmosphereComponent.cs index 1bb4961e25..108c748c1e 100644 --- a/Content.Server/GameObjects/Components/Atmos/GridAtmosphereComponent.cs +++ b/Content.Server/GameObjects/Components/Atmos/GridAtmosphereComponent.cs @@ -814,7 +814,8 @@ namespace Content.Server.GameObjects.Components.Atmos foreach (var airtightComponent in GetObstructingComponents(indices)) { - value |= airtightComponent.AirBlockedDirection; + if(airtightComponent.AirBlocked) + value |= airtightComponent.AirBlockedDirection; } return value;