Fix single edge firelocks making tiles lose all air
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user