Fix disarm action (again) (#7435)
This commit is contained in:
@@ -90,7 +90,7 @@ namespace Content.Server.Hands.Systems
|
|||||||
if (TryComp(uid, out SharedPullerComponent? puller) && puller.Pulling is EntityUid pulled && TryComp(pulled, out SharedPullableComponent? pullable))
|
if (TryComp(uid, out SharedPullerComponent? puller) && puller.Pulling is EntityUid pulled && TryComp(pulled, out SharedPullableComponent? pullable))
|
||||||
_pullingSystem.TryStopPull(pullable);
|
_pullingSystem.TryStopPull(pullable);
|
||||||
|
|
||||||
if (_handsSystem.TryDrop(uid, component.ActiveHand!, null, checkActionBlocker: false))
|
if (!_handsSystem.TryDrop(uid, component.ActiveHand!, null, checkActionBlocker: false))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var targetName = Name(args.Target);
|
var targetName = Name(args.Target);
|
||||||
|
|||||||
Reference in New Issue
Block a user