From: themias <89101928+themias@users.noreply.github.com> Date: Sat, 6 Jul 2024 03:55:58 +0000 (-0400) Subject: Don't allow toggling internals while asleep (#29753) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=7b99d1f851d3a3be179d5307a72b213a8971af9d;p=space-station-14.git Don't allow toggling internals while asleep (#29753) --- diff --git a/Content.Server/Body/Systems/InternalsSystem.cs b/Content.Server/Body/Systems/InternalsSystem.cs index 922d48f13e..d6ece39d59 100644 --- a/Content.Server/Body/Systems/InternalsSystem.cs +++ b/Content.Server/Body/Systems/InternalsSystem.cs @@ -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;