From: DrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com> Date: Sun, 4 Aug 2024 03:34:55 +0000 (-0700) Subject: Don't show toggle internals verb if no breath tools are found while off (#30622) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=94a1b67c673aa69ffea6745bb1c825904bb4a289;p=space-station-14.git Don't show toggle internals verb if no breath tools are found while off (#30622) * Don't show toggle internals verb if no breath tools are found * only if not working --- diff --git a/Content.Server/Body/Systems/InternalsSystem.cs b/Content.Server/Body/Systems/InternalsSystem.cs index 10ebd934aa..e352b0a58a 100644 --- a/Content.Server/Body/Systems/InternalsSystem.cs +++ b/Content.Server/Body/Systems/InternalsSystem.cs @@ -72,6 +72,9 @@ public sealed class InternalsSystem : EntitySystem if (!args.CanAccess || !args.CanInteract || args.Hands is null) return; + if (!AreInternalsWorking(ent) && ent.Comp.BreathTools.Count == 0) + return; + var user = args.User; InteractionVerb verb = new()