From: Krunklehorn <42424291+Krunklehorn@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:32:16 +0000 (-0500) Subject: Revert "Fix ItemSlots prediction" (#25610) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=6485dd4f4de1167523c38d2aa7ffe79f440b4386;p=space-station-14.git Revert "Fix ItemSlots prediction" (#25610) Revert "Fix ItemSlots prediction (#25552)" This reverts commit ad29dbe302ac921b9e3f6cbd3ded79788db27b46. --- diff --git a/Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs b/Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs index 90f4f2a900..d832cdfef8 100644 --- a/Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs +++ b/Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs @@ -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); } ///