From f71bd7cce2853f68b7413bae7047165754333b5d Mon Sep 17 00:00:00 2001 From: Seris02 Date: Tue, 21 Feb 2023 11:47:25 +0800 Subject: [PATCH] sanity check --- code/modules/client/preference_setup/general/03_body.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/client/preference_setup/general/03_body.dm b/code/modules/client/preference_setup/general/03_body.dm index aea2eba010..61a5484ea2 100644 --- a/code/modules/client/preference_setup/general/03_body.dm +++ b/code/modules/client/preference_setup/general/03_body.dm @@ -364,9 +364,11 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O to_unamputate[name] = list("path" = newpath, "robotic" = is_robotic, "model" = pref.rlimb_data[parent_name]||pref.rlimb_data[BP_TORSO]) for(var/name in to_unamputate) var/newpath = to_unamputate[name]["path"] + if (!ispath(newpath)) continue var/obj/item/organ/external/s = new newpath(character) if (to_unamputate[name]["robotic"]) s.robotize(to_unamputate[name]["model"]) + 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]