Skip to content

Commit

Permalink
removed generic_adjective sanity check. this will require more work t…
Browse files Browse the repository at this point in the history
…o cover edge cases of character saves without adjectives saved than previously thought.

oops
  • Loading branch information
Anticept committed Jun 12, 2024
1 parent 3365e60 commit 6d77c5e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions code/modules/client/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -879,18 +879,19 @@ GLOBAL_LIST_EMPTY(preferences_datums)
dat += "</td>"
mutant_category = 0

if(generic_adjective)
if(!mutant_category)
dat += APPEARANCE_CATEGORY_COLUMN
// begin generic adjective
if(!mutant_category)
dat += APPEARANCE_CATEGORY_COLUMN

dat += "<h3>Character Adjective</h3>"
dat += "<h3>Character Adjective</h3>"

dat += "<a href='?_src_=prefs;preference=generic_adjective;task=input'>[generic_adjective]</a><BR>"
dat += "<a href='?_src_=prefs;preference=generic_adjective;task=input'>[generic_adjective]</a><BR>"

mutant_category++
if(mutant_category >= MAX_MUTANT_ROWS)
dat += "</td>"
mutant_category = 0
mutant_category++
if(mutant_category >= MAX_MUTANT_ROWS)
dat += "</td>"
mutant_category = 0
// end generic adjective

if("wings" in pref_species.default_features && GLOB.r_wings_list.len >1)
if(!mutant_category)
Expand Down

0 comments on commit 6d77c5e

Please sign in to comment.