Fix AirBlocked not being taken into account in airflow blocked calculations.

This commit is contained in:
Víctor Aguilera Puerto
2020-10-17 18:02:56 +02:00
parent a7f2b70c87
commit ca923866ff

View File

@@ -814,6 +814,7 @@ namespace Content.Server.GameObjects.Components.Atmos
foreach (var airtightComponent in GetObstructingComponents(indices)) foreach (var airtightComponent in GetObstructingComponents(indices))
{ {
if(airtightComponent.AirBlocked)
value |= airtightComponent.AirBlockedDirection; value |= airtightComponent.AirBlockedDirection;
} }