Child organs can't robotize() if they're already robotic

This commit is contained in:
atermonera
2023-02-04 21:07:09 -08:00
parent 0784e40a1e
commit 96c446eb33

View File

@@ -345,7 +345,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
// Destroy/cyborgize organs and limbs.
character.synthetic = null //Clear the existing var.
for(var/name in BP_ALL)
for(var/name in list(BP_HEAD, BP_L_HAND, BP_R_HAND, BP_L_ARM, BP_R_ARM, BP_L_FOOT, BP_R_FOOT, BP_L_LEG, BP_R_LEG, BP_GROIN, BP_TORSO))
var/status = pref.organ_data[name]
var/obj/item/organ/external/O = character.organs_by_name[name]
if(O)