From: themias <89101928+themias@users.noreply.github.com> Date: Thu, 4 May 2023 18:45:14 +0000 (-0400) Subject: Fix duplicate verbs on janitor trolley (#16087) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=4990eee31239dbca074d26facc07736fc3ea3051;p=space-station-14.git Fix duplicate verbs on janitor trolley (#16087) --- 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