Fix duplicate verbs on janitor trolley (#16087)
This commit is contained in:
parent
94e6b9a0cf
commit
4990eee312
1 changed files with 1 additions and 1 deletions
|
|
@ -533,7 +533,7 @@ namespace Content.Shared.Containers.ItemSlots
|
|||
|
||||
foreach (var slot in itemSlots.Slots.Values)
|
||||
{
|
||||
if (!CanInsert(uid, args.Using.Value, slot))
|
||||
if (!slot.InsertOnInteract || !CanInsert(uid, args.Using.Value, slot))
|
||||
continue;
|
||||
|
||||
var verbSubject = slot.Name != string.Empty
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue