Fix itemslots swapping (#25634)

Fix itemslots prediction

(cherry picked from commit fc4389f2d7)
This commit is contained in:
metalgearsloth
2024-04-07 14:14:13 +02:00
committed by NullWanderer
parent 06e70d6574
commit 290060b36c
@@ -279,7 +279,7 @@ namespace Content.Shared.Containers.ItemSlots
if (ev.Cancelled)
return false;
return _containers.CanInsert(usedUid, slot.ContainerSlot, assumeEmpty: true);
return _containers.CanInsert(usedUid, slot.ContainerSlot, assumeEmpty: swap);
}
/// <summary>