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,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;