fix: hide timer trigger's cycle time verb if DelayOptions is empty (#39388)

fix: hide cycle time verb if DelayOptions is empty
This commit is contained in:
Perry Fraser 2025-08-04 23:26:02 -04:00 committed by GitHub
parent 1599a6b271
commit 96d25402c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;