Hand refactor bugfix (#38576)

This commit is contained in:
slarticodefast
2025-06-25 17:41:19 +02:00
committed by GitHub
parent d998d71ce2
commit 296283c0b1

View File

@@ -112,7 +112,7 @@ public abstract class SharedWieldableSystem : EntitySystem
private void OnDeselectWieldable(EntityUid uid, WieldableComponent component, HandDeselectedEvent args)
{
if (_hands.GetHandCount(uid) > 2)
if (_hands.GetHandCount(args.User) > 2)
return;
TryUnwield(uid, component, args.User);