Fix audio mispredict when quick inserting (#39930)

surprising

Co-authored-by: iaada <iaada@users.noreply.github.com>
This commit is contained in:
āda
2025-08-28 11:54:06 -05:00
committed by GitHub
parent 60ea135fd3
commit 49daf74069

View File

@@ -150,7 +150,7 @@ public sealed class SmartEquipSystem : EntitySystem
} }
_hands.TryDrop((uid, hands), hands.ActiveHandId!); _hands.TryDrop((uid, hands), hands.ActiveHandId!);
_storage.Insert(slotItem, handItem.Value, out var stacked, out _); _storage.Insert(slotItem, handItem.Value, out var stacked, out _, user: uid);
// if the hand item stacked with the things in inventory, but there's no more space left for the rest // if the hand item stacked with the things in inventory, but there's no more space left for the rest
// of the stack, place the stack back in hand rather than dropping it on the floor // of the stack, place the stack back in hand rather than dropping it on the floor