From: Perry Fraser Date: Tue, 5 Aug 2025 03:26:02 +0000 (-0400) Subject: fix: hide timer trigger's cycle time verb if DelayOptions is empty (#39388) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=96d25402c7ee9a5f10f60bd3dfb006815792a0a9;p=space-station-14.git fix: hide timer trigger's cycle time verb if DelayOptions is empty (#39388) fix: hide cycle time verb if DelayOptions is empty --- diff --git a/Content.Shared/Trigger/Systems/TriggerSystem.Timer.cs b/Content.Shared/Trigger/Systems/TriggerSystem.Timer.cs index 776b17bda6..58ac43e571 100644 --- a/Content.Shared/Trigger/Systems/TriggerSystem.Timer.cs +++ b/Content.Shared/Trigger/Systems/TriggerSystem.Timer.cs @@ -63,7 +63,7 @@ public sealed partial class TriggerSystem if (!args.CanInteract || !args.CanAccess || args.Hands == null) return; - if (ent.Comp.DelayOptions == null || ent.Comp.DelayOptions.Count == 1) + if (ent.Comp.DelayOptions.Count <= 1) return; var user = args.User;