From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Thu, 26 Jun 2025 15:29:22 +0000 (+0200) Subject: Fix multi handed items (#38603) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=faec9bd83baade6bde40ad581991052ee161fa9c;p=space-station-14.git Fix multi handed items (#38603) --- diff --git a/Content.Shared/Item/MultiHandedItemSystem.cs b/Content.Shared/Item/MultiHandedItemSystem.cs index f17ccdc922..db64610eae 100644 --- a/Content.Shared/Item/MultiHandedItemSystem.cs +++ b/Content.Shared/Item/MultiHandedItemSystem.cs @@ -37,7 +37,7 @@ public sealed class MultiHandedItemSystem : EntitySystem private void OnAttemptPickup(Entity ent, ref GettingPickedUpAttemptEvent args) { - if (_hands.CountFreeHands(ent.Owner) >= ent.Comp.HandsNeeded) + if (_hands.CountFreeHands(args.User) >= ent.Comp.HandsNeeded) return; args.Cancel();