Fix duplicate verbs on janitor trolley (#16087)
This commit is contained in:
@@ -533,7 +533,7 @@ namespace Content.Shared.Containers.ItemSlots
|
|||||||
|
|
||||||
foreach (var slot in itemSlots.Slots.Values)
|
foreach (var slot in itemSlots.Slots.Values)
|
||||||
{
|
{
|
||||||
if (!CanInsert(uid, args.Using.Value, slot))
|
if (!slot.InsertOnInteract || !CanInsert(uid, args.Using.Value, slot))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var verbSubject = slot.Name != string.Empty
|
var verbSubject = slot.Name != string.Empty
|
||||||
|
|||||||
Reference in New Issue
Block a user