Fix duplicate verbs on janitor trolley (#16087)

This commit is contained in:
themias 2023-05-04 14:45:14 -04:00 committed by GitHub
parent 94e6b9a0cf
commit 4990eee312
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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