]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix audio mispredict when quick inserting (#39930)
authorāda <ss.adasts@gmail.com>
Thu, 28 Aug 2025 16:54:06 +0000 (11:54 -0500)
committerGitHub <noreply@github.com>
Thu, 28 Aug 2025 16:54:06 +0000 (18:54 +0200)
surprising

Co-authored-by: iaada <iaada@users.noreply.github.com>
Content.Shared/Interaction/SmartEquipSystem.cs

index da79fc1e6916729011af9190e2f46433c9fb88ef..553a4475cb895bc9b2b285fd4939bd528481f7a4 100644 (file)
@@ -150,7 +150,7 @@ public sealed class SmartEquipSystem : EntitySystem
             }
 
             _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
             // of the stack, place the stack back in hand rather than dropping it on the floor