]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Don't allow toggling internals while asleep (#29753)
authorthemias <89101928+themias@users.noreply.github.com>
Sat, 6 Jul 2024 03:55:58 +0000 (23:55 -0400)
committerGitHub <noreply@github.com>
Sat, 6 Jul 2024 03:55:58 +0000 (13:55 +1000)
Content.Server/Body/Systems/InternalsSystem.cs

index 922d48f13ed2a28d51110ea56fc9acc25273b973..d6ece39d590a365d24048231cc93c7a1737dcaf8 100644 (file)
@@ -100,7 +100,7 @@ public sealed class InternalsSystem : EntitySystem
         // Toggle off if they're on
         if (AreInternalsWorking(internals))
         {
-            if (force || user == uid)
+            if (force)
             {
                 DisconnectTank(internals);
                 return;