mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-03 05:51:56 +00:00
Cryogenics Fix (#9318)
Cryogenics no longer swallow the items that spawn in your hands if you spawn there. Fixes #9280
This commit is contained in:
@@ -240,7 +240,11 @@ var/list/slot_equipment_priority = list( \
|
||||
|
||||
/mob/proc/canUnEquip(obj/item/I)
|
||||
if(!I) //If there's nothing to drop, the drop is automatically successful.
|
||||
return 1
|
||||
return TRUE
|
||||
if(istype(loc, /obj))
|
||||
var/obj/O = loc
|
||||
if(!O.can_hold_dropped_items())
|
||||
return FALSE
|
||||
var/slot = get_inventory_slot(I)
|
||||
return slot && I.mob_can_unequip(src, slot)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user