mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Merge pull request #4024 from Tastyfish/clickyclick
Makes clicking a filled inventory slot's square be 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