mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Fixed an annoying bug with giving another player a flashlight,
opened up at least 100 individual bugs where people kept setting loc and expecting light updates to catch it.
This commit is contained in:
@@ -717,8 +717,11 @@ It can still be worn/put on as normal.
|
||||
if(item && target.has_organ_for_slot(slot_to_process)) //Placing an item on the mob
|
||||
if(item.mob_can_equip(target, slot_to_process, 0))
|
||||
source.u_equip(item)
|
||||
target.equip_to_slot_if_possible(item, slot_to_process, 0, 1, 1)
|
||||
item.dropped(source)
|
||||
|
||||
target.equip_to_slot_if_possible(item, slot_to_process, 0, 1, 1)
|
||||
item.pickup(target)
|
||||
|
||||
source.update_icons()
|
||||
target.update_icons()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user