From 4990eee31239dbca074d26facc07736fc3ea3051 Mon Sep 17 00:00:00 2001 From: themias <89101928+themias@users.noreply.github.com> Date: Thu, 4 May 2023 14:45:14 -0400 Subject: [PATCH] Fix duplicate verbs on janitor trolley (#16087) --- Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs b/Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs index 1551b30bb6..48c5e9c331 100644 --- a/Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs +++ b/Content.Shared/Containers/ItemSlot/ItemSlotsSystem.cs @@ -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 -- 2.51.2