mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Transforming species as a cling now properly handles dropping items. Fixing cling blades laying on the floor (#17483)
This commit is contained in:
@@ -1360,8 +1360,10 @@
|
||||
dna.species.create_organs(src)
|
||||
|
||||
for(var/obj/item/thing in kept_items)
|
||||
equip_to_slot_if_possible(thing, kept_items[thing])
|
||||
var/equipped = equip_to_slot_if_possible(thing, kept_items[thing])
|
||||
thing.flags = item_flags[thing] // Reset the flags to the origional ones
|
||||
if(!equipped)
|
||||
thing.dropped() // Ensures items know they are dropped. Using their original flags
|
||||
|
||||
//Handle default hair/head accessories for created mobs.
|
||||
var/obj/item/organ/external/head/H = get_organ("head")
|
||||
|
||||
Reference in New Issue
Block a user