Fix hand refactor 2 (#38578)

* fix unwielding

* hand refactor bugfix 2
This commit is contained in:
slarticodefast
2025-06-25 18:26:20 +02:00
committed by GitHub
parent 296283c0b1
commit 747dfe901e

View File

@@ -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)