From 0757929e179fcfc7a811ddb2df48b6b3d5de5658 Mon Sep 17 00:00:00 2001 From: Mr_DarkBladeS <48252701+MysticalFaceLesS@users.noreply.github.com> Date: Wed, 19 Jun 2024 08:32:04 +0300 Subject: [PATCH] [MIRROR] Removes generic_adjective sanity check (#748) * [MIRROR] Removes generic_adjective sanity check * Update preferences.dm Signed-off-by: MrCat15352 <125268716+MrCat15352@users.noreply.github.com> * Update preferences.dm Signed-off-by: MrCat15352 <125268716+MrCat15352@users.noreply.github.com> --------- Signed-off-by: MrCat15352 <125268716+MrCat15352@users.noreply.github.com> Co-authored-by: Anticept <521038+Anticept@users.noreply.github.com> Co-authored-by: MrCat15352 <125268716+MrCat15352@users.noreply.github.com> --- code/modules/client/preferences.dm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 51985fa11e82..fb41b702d1fe 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -942,15 +942,19 @@ GLOBAL_LIST_EMPTY(preferences_datums) dat += "[features["body_size"]]
" + // begin generic adjective + if(!mutant_category) + dat += APPEARANCE_CATEGORY_COLUMN - dat += "

Character Adjective

" + dat += "

Character Adjective

" - dat += "[generic_adjective]
" + dat += "[generic_adjective]
" - mutant_category++ - if(mutant_category >= MAX_MUTANT_ROWS) - dat += "" - mutant_category = 0 + mutant_category++ + if(mutant_category >= MAX_MUTANT_ROWS) + dat += "" + mutant_category = 0 + // end generic adjective if("wings" in pref_species.default_features && GLOB.r_wings_list.len >1) if(!mutant_category)