Add cooldown to bike horn implant (#19128)
This commit is contained in:
@@ -196,7 +196,7 @@ namespace Content.Server.Explosion.EntitySystems
|
||||
|
||||
private void OnImplantTrigger(EntityUid uid, TriggerImplantActionComponent component, ActivateImplantEvent args)
|
||||
{
|
||||
Trigger(uid);
|
||||
args.Handled = Trigger(uid);
|
||||
}
|
||||
|
||||
private void OnStepTriggered(EntityUid uid, TriggerOnStepTriggerComponent component, ref StepTriggeredEvent args)
|
||||
|
||||
@@ -181,3 +181,4 @@
|
||||
description: action-desc-honk
|
||||
icon: { sprite: Objects/Fun/bikehorn.rsi, state: icon }
|
||||
event: !type:ActivateImplantEvent
|
||||
useDelay: 1
|
||||
|
||||
Reference in New Issue
Block a user