Fix ItemSlots prediction (#25552)

IDK what this arg is for but seems okay with guns. Without it it always thinks the insertion can work.

(cherry picked from commit ad29dbe302ac921b9e3f6cbd3ded79788db27b46)
This commit is contained in:
metalgearsloth 2024-02-26 07:22:43 +11:00 committed by Debug
parent b89b64823c
commit 398bbde497
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
1 changed files with 1 additions and 1 deletions

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>