]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix ItemSlotsSystem debug assert (#38655)
authorslarticodefast <161409025+slarticodefast@users.noreply.github.com>
Sun, 29 Jun 2025 14:33:58 +0000 (16:33 +0200)
committerGitHub <noreply@github.com>
Sun, 29 Jun 2025 14:33:58 +0000 (10:33 -0400)
Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs

index b3eb4b23c2e63d0f7922837540ca9c1f035f25d4..88e6ca44dc885cc458c408f2844bc6e6c6caa307 100644 (file)
@@ -395,7 +395,7 @@ namespace Content.Shared.Containers.ItemSlots
             if (!Resolve(user, ref hands, false))
                 return false;
 
-            if (!_handsSystem.TryGetActiveItem((uid, hands), out var held))
+            if (!_handsSystem.TryGetActiveItem((user, hands), out var held))
                 return false;
 
             if (!CanInsert(uid, held.Value, user, slot))