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
This commit is contained in:
DrSmugleaf
2024-08-03 20:34:55 -07:00
committed by GitHub
parent 8865d4a782
commit 94a1b67c67

View File

@@ -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()