Fixes organs listed under organ tag instead of organ name when using undislocate verb

This commit is contained in:
HarpyEagle
2016-05-24 11:44:00 -04:00
committed by Yoshax
parent 9976291ca4
commit fcb8c63d2a

View File

@@ -1325,7 +1325,7 @@
for(var/limb in organs_by_name)
var/obj/item/organ/external/current_limb = organs_by_name[limb]
if(current_limb && current_limb.dislocated > 0 && !current_limb.is_parent_dislocated()) //if the parent is also dislocated you will have to relocate that first
limbs |= limb
limbs |= current_limb
var/choice = input(usr,"Which joint do you wish to relocate?") as null|anything in limbs
if(!choice)