From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Wed, 25 Jun 2025 16:26:20 +0000 (+0200) Subject: Fix hand refactor 2 (#38578) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=747dfe901e810a11afdb1b15cb1721875e891f5b;p=space-station-14.git Fix hand refactor 2 (#38578) * fix unwielding * hand refactor bugfix 2 --- diff --git a/Content.Shared/Hands/EntitySystems/SharedHandsSystem.cs b/Content.Shared/Hands/EntitySystems/SharedHandsSystem.cs index 4a24b9de02..4f259a3bde 100644 --- a/Content.Shared/Hands/EntitySystems/SharedHandsSystem.cs +++ b/Content.Shared/Hands/EntitySystems/SharedHandsSystem.cs @@ -296,7 +296,7 @@ public abstract partial class SharedHandsSystem if (handId == ent.Comp.ActiveHandId) return false; - if (TryGetHeldItem(ent, handId, out var oldHeld)) + if (TryGetActiveItem(ent, out var oldHeld)) RaiseLocalEvent(oldHeld.Value, new HandDeselectedEvent(ent)); if (handId == null)