Fix single edge firelocks making tiles lose all air

This commit is contained in:
Víctor Aguilera Puerto
2020-11-30 13:10:31 +01:00
parent 4882559a4b
commit ca9ff84cf4

View File

@@ -140,7 +140,7 @@ namespace Content.Shared.Atmos
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool IsFlagSet(this AtmosDirection direction, AtmosDirection other) public static bool IsFlagSet(this AtmosDirection direction, AtmosDirection other)
{ {
return (direction & other) != 0; return (direction & other) == other;
} }
} }