Fix NoAirWhenFullyAirBlocked (#12709)

This commit is contained in:
Leon Friedrich
2022-11-24 14:45:08 +13:00
committed by GitHub
parent 32ba8e4f9d
commit 186b8e00da
3 changed files with 13 additions and 16 deletions

View File

@@ -241,6 +241,7 @@ public sealed partial class AtmosphereSystem
// We set the directions that are air-blocked so far,
// as you could have a full obstruction with only 4 directional air blockers.
directions |= obstructingComponent.AirBlockedDirection;
args.NoAir |= obstructingComponent.NoAirWhenFullyAirBlocked;
if (directions.IsFlagSet(args.Direction))
{