mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Clicking a filled inventory slot's background is now treated like clicking the item.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user