Wire action cleanup (#13496)
This commit is contained in:
@@ -48,7 +48,7 @@ public abstract class BaseToggleWireAction : BaseWireAction
|
||||
return true;
|
||||
}
|
||||
|
||||
public override bool Pulse(EntityUid user, Wire wire)
|
||||
public override void Pulse(EntityUid user, Wire wire)
|
||||
{
|
||||
base.Pulse(user, wire);
|
||||
ToggleValue(wire.Owner, !GetValue(wire.Owner));
|
||||
@@ -57,8 +57,6 @@ public abstract class BaseToggleWireAction : BaseWireAction
|
||||
{
|
||||
WiresSystem.StartWireAction(wire.Owner, Delay, TimeoutKey, new TimedWireEvent(AwaitPulseCancel, wire));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void Update(Wire wire)
|
||||
|
||||
Reference in New Issue
Block a user