From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Wed, 25 Jun 2025 15:41:19 +0000 (+0200) Subject: Hand refactor bugfix (#38576) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=296283c0b191017826290922bb89570addcb6c3e;p=space-station-14.git Hand refactor bugfix (#38576) --- diff --git a/Content.Shared/Wieldable/SharedWieldableSystem.cs b/Content.Shared/Wieldable/SharedWieldableSystem.cs index c3375c3fe1..0a49622f8b 100644 --- a/Content.Shared/Wieldable/SharedWieldableSystem.cs +++ b/Content.Shared/Wieldable/SharedWieldableSystem.cs @@ -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);