Skip to content

Commit

Permalink
Fix vatgrown culture name sanitisation
Browse files Browse the repository at this point in the history
  • Loading branch information
MarinaGryphon committed Jan 15, 2022
1 parent bc48215 commit 61ac5f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/content/hearth_culture/humanity.dm
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@
/decl/cultural_info/culture/human/vatgrown/get_random_name(var/mob/M, var/gender)
return capitalize(pick(gender==FEMALE ? global.first_names_female : global.first_names_male)) + "-" + "[rand(0,9999)]"

/decl/cultural_info/culture/human/vatgrown/sanitize_name(var/new_name)
return sanitizeName(new_name, allow_numbers = TRUE)
/decl/cultural_info/culture/human/vatgrown/sanitize_cultural_name(var/new_name)
return sanitize_name(new_name, allow_numbers = TRUE)

/decl/cultural_info/culture/human/aaronite
name = "Aaronite"
Expand Down

0 comments on commit 61ac5f0

Please sign in to comment.