Fix ItemSlots prediction (#25552)

IDK what this arg is for but seems okay with guns. Without it it always thinks the insertion can work.
This commit is contained in:
metalgearsloth
2024-02-26 07:22:43 +11:00
committed by GitHub
parent 4613c9dabc
commit ad29dbe302

View File

@@ -274,7 +274,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);
}
/// <summary>