Add popup message for activating trigger with hand (#24858)

This commit is contained in:
Kevin Zheng
2024-02-02 00:00:06 -08:00
committed by GitHub
parent 58e28b5136
commit 6b1524138b
2 changed files with 4 additions and 0 deletions

View File

@@ -171,6 +171,8 @@ public sealed partial class TriggerSystem
if (args.Handled || HasComp<AutomatedTimerComponent>(uid) || component.UseVerbInstead)
return;
_popupSystem.PopupEntity(Loc.GetString("trigger-activated", ("device", uid)), args.User, args.User);
HandleTimerTrigger(
uid,
args.User,