Fix AirBlocked not being taken into account in airflow blocked calculations.
This commit is contained in:
@@ -814,7 +814,8 @@ namespace Content.Server.GameObjects.Components.Atmos
|
|||||||
|
|
||||||
foreach (var airtightComponent in GetObstructingComponents(indices))
|
foreach (var airtightComponent in GetObstructingComponents(indices))
|
||||||
{
|
{
|
||||||
value |= airtightComponent.AirBlockedDirection;
|
if(airtightComponent.AirBlocked)
|
||||||
|
value |= airtightComponent.AirBlockedDirection;
|
||||||
}
|
}
|
||||||
|
|
||||||
return value;
|
return value;
|
||||||
|
|||||||
Reference in New Issue
Block a user