Fix disarm action (again) (#7435)

This commit is contained in:
Leon Friedrich
2022-04-06 17:41:12 +12:00
committed by GitHub
parent f583d0b96a
commit 8ac330649b

View File

@@ -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))
_pullingSystem.TryStopPull(pullable);
if (_handsSystem.TryDrop(uid, component.ActiveHand!, null, checkActionBlocker: false))
if (!_handsSystem.TryDrop(uid, component.ActiveHand!, null, checkActionBlocker: false))
return;
var targetName = Name(args.Target);