]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix a logic error in Protectedgridsystem (#39271)
authorAlkheemist <alkheemist@gmail.com>
Tue, 29 Jul 2025 12:01:40 +0000 (22:01 +1000)
committerGitHub <noreply@github.com>
Tue, 29 Jul 2025 12:01:40 +0000 (14:01 +0200)
fix a logic error in Protectedgridsystem

Content.Shared/Tiles/ProtectedGridSystem.cs

index 0d6f5b7a6daeec9939c92a25972574b43916c7f2..f90b0a52de4f14d10631c6af04d823ade76b9f2e 100644 (file)
@@ -62,7 +62,7 @@ public sealed class ProtectedGridSystem : EntitySystem
             return;
         }
 
-        if (SharedMapSystem.FromBitmask(args.GridIndices, data))
+        if (!SharedMapSystem.FromBitmask(args.GridIndices, data))
         {
             args.Cancelled = true;
         }