]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Revert "Fix ItemSlots prediction" (#25610)
authorKrunklehorn <42424291+Krunklehorn@users.noreply.github.com>
Tue, 27 Feb 2024 12:32:16 +0000 (07:32 -0500)
committerGitHub <noreply@github.com>
Tue, 27 Feb 2024 12:32:16 +0000 (23:32 +1100)
Revert "Fix ItemSlots prediction (#25552)"

This reverts commit ad29dbe302ac921b9e3f6cbd3ded79788db27b46.

Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs

index 90f4f2a9006b92be47ba5793c4cc254d31537f01..d832cdfef8cff27dbe6ad111f1aca459deaf7593 100644 (file)
@@ -274,7 +274,7 @@ namespace Content.Shared.Containers.ItemSlots
             if (ev.Cancelled)
                 return false;
 
-            return _containers.CanInsert(usedUid, slot.ContainerSlot);
+            return _containers.CanInsert(usedUid, slot.ContainerSlot, assumeEmpty: true);
         }
 
         /// <summary>