mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
Fix Agender Random Names (#89794)
## About The Pull Request Fixes #89789 Any non-male genders got random'd. ## Changelog 🆑 Melbert fix: Fixed random names always giving male names /🆑
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
|
||||
/// Simple helper for getting a default firstname lastname
|
||||
/datum/language/proc/default_name(gender = NEUTER)
|
||||
if(gender != MALE)
|
||||
if(gender != MALE && gender != FEMALE)
|
||||
gender = pick(MALE, FEMALE)
|
||||
if(gender == FEMALE)
|
||||
return capitalize(pick(GLOB.first_names_female)) + " " + capitalize(pick(GLOB.last_names))
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
)
|
||||
if(force_use_syllables)
|
||||
return ..()
|
||||
if(gender != MALE)
|
||||
if(gender != MALE && gender != FEMALE)
|
||||
gender = pick(MALE, FEMALE)
|
||||
|
||||
if(gender == MALE)
|
||||
|
||||
Reference in New Issue
Block a user