From ca9ff84cf419d79364d613ac71468c5d40d6fc7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Mon, 30 Nov 2020 13:10:31 +0100 Subject: [PATCH] Fix single edge firelocks making tiles lose all air --- Content.Shared/Atmos/AtmosDirection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Atmos/AtmosDirection.cs b/Content.Shared/Atmos/AtmosDirection.cs index 4922500f25..9ea2057e17 100644 --- a/Content.Shared/Atmos/AtmosDirection.cs +++ b/Content.Shared/Atmos/AtmosDirection.cs @@ -140,7 +140,7 @@ namespace Content.Shared.Atmos [MethodImpl(MethodImplOptions.AggressiveInlining)] public static bool IsFlagSet(this AtmosDirection direction, AtmosDirection other) { - return (direction & other) != 0; + return (direction & other) == other; } }