diff --git a/code/modules/client/preference/link_processing.dm b/code/modules/client/preference/link_processing.dm index 948dc80d069..7dbf65fa62e 100644 --- a/code/modules/client/preference/link_processing.dm +++ b/code/modules/client/preference/link_processing.dm @@ -855,15 +855,17 @@ organ = "kidneys" var/new_state = tgui_input_list(user, "What state do you wish the organ to be in?", "[organ_name]", list("Normal", "Cybernetic")) - if(!new_state) return - + if(!new_state) + return switch(new_state) if("Normal") active_character.organ_data[organ] = null if("Cybernetic") active_character.organ_data[organ] = "cybernetic" if("cyborg_brain_type") - var/brain_type = tgui_input_list(user, "What type of brain would you like to have as a cyborg?", "Cyborg Brain Type", GLOB.borg_brain_choices) + var/brain_type = tgui_input_list(user, "What type of brain would you like to have as a cyborg?", "Cyborg Brain Type", GLOB.borg_brain_choices, active_character.cyborg_brain_type) + if(!(brain_type in GLOB.borg_brain_choices)) + return active_character.cyborg_brain_type = brain_type if("clientfps") var/version_message diff --git a/code/modules/client/preference/preferences.dm b/code/modules/client/preference/preferences.dm index 57be6975123..eb36655a4f0 100644 --- a/code/modules/client/preference/preferences.dm +++ b/code/modules/client/preference/preferences.dm @@ -222,9 +222,10 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(S.bodyflags & (HAS_SKIN_TONE|HAS_ICON_SKIN_TONE)) dat += "Skin Tone: [S.bodyflags & HAS_ICON_SKIN_TONE ? "[active_character.s_tone]" : "[-active_character.s_tone + 35]/220"]
" dat += "Disabilities: \[Set\]
" - dat += "Nanotrasen Relation: [active_character.nanotrasen_relation]
" + dat += "Nanotrasen Relation: [active_character.nanotrasen_relation]
" dat += "Physique: [active_character.physique]
" dat += "Height: [active_character.height]
" + dat += "Cyborg Brain Type: [active_character.cyborg_brain_type]
" dat += "Set Flavor Text
" if(length(active_character.flavor_text) <= 40) if(!length(active_character.flavor_text)) @@ -373,8 +374,6 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(!ind) dat += "\[...\]
" else dat += "
" - dat += "

Cyborg Brain Type

" - dat += "[active_character.cyborg_brain_type]
" dat += "

Clothing

" if(S.clothing_flags & HAS_UNDERWEAR) dat += "Underwear: [active_character.underwear]
"