From 53728f95fe2e8a1c851b91d67fb68b2c64a9975f Mon Sep 17 00:00:00 2001 From: Tastyfish Date: Mon, 28 Mar 2016 05:24:00 -0400 Subject: [PATCH] Clicking a filled inventory slot's background is now treated like clicking the item. --- code/modules/mob/mob.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 3451da45d3f..c124d316eed 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -174,6 +174,10 @@ equip_to_slot_if_possible(C, slot) else equip_to_slot_if_possible(W, slot) + else + W = get_item_by_slot(slot) + if(W) + W.attack_hand(src) if(ishuman(src) && W == src:head) src:update_hair()