ninja 2 electric boogaloo (#15534)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace Content.Server.Explosion.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Disallows starting the timer by hand, must be stuck or triggered by a system.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class AutomatedTimerComponent : Component
|
||||
{
|
||||
}
|
||||
@@ -140,7 +140,7 @@ public sealed partial class TriggerSystem
|
||||
|
||||
private void OnTimerUse(EntityUid uid, OnUseTimerTriggerComponent component, UseInHandEvent args)
|
||||
{
|
||||
if (args.Handled)
|
||||
if (args.Handled || HasComp<AutomatedTimerComponent>(uid))
|
||||
return;
|
||||
|
||||
HandleTimerTrigger(
|
||||
|
||||
Reference in New Issue
Block a user