From 29030f7d27f795ecf8cb748b38aad423c98b3d06 Mon Sep 17 00:00:00 2001 From: Lexanx <61974560+Lexanx@users.noreply.github.com> Date: Tue, 26 Mar 2024 18:40:04 +0300 Subject: [PATCH] fix --- code/_helpers/text.dm | 2 +- code/modules/culture_descriptor/culture/cultures_ipc.dm | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/code/_helpers/text.dm b/code/_helpers/text.dm index d9c90dad114aa..ff514af878ecf 100644 --- a/code/_helpers/text.dm +++ b/code/_helpers/text.dm @@ -63,7 +63,7 @@ return sanitize(replace_characters(input, list(">"=" ","<"=" ", "\""="'")), max_length, encode, trim, extra) //Filters out undesirable characters from names -/proc/sanitizeName(input, max_length = MAX_NAME_LEN, allow_numbers = 1, force_first_letter_uppercase = TRUE) +/proc/sanitizeName(input, max_length = MAX_NAME_LEN, allow_numbers = 0, force_first_letter_uppercase = TRUE) if(!input || length_char(input) > max_length) return //Rejects the input if it is null or if it is longer then the max length allowed diff --git a/code/modules/culture_descriptor/culture/cultures_ipc.dm b/code/modules/culture_descriptor/culture/cultures_ipc.dm index 950c9de85d369..94809084558e4 100644 --- a/code/modules/culture_descriptor/culture/cultures_ipc.dm +++ b/code/modules/culture_descriptor/culture/cultures_ipc.dm @@ -20,10 +20,13 @@ LANGUAGE_SIGN ) economic_power = 0.1 - +*/ +// [SIERRA-REMOVE] /singleton/cultural_info/culture/ipc/sanitize_name(new_name) return sanitizeName(new_name, allow_numbers = 1) +// [SIERRA-REMOVE] - IPC_MODS +/* /singleton/cultural_info/culture/ipc/gen2 name = CULTURE_POSITRONICS_GEN2 description = "Second generation positronics are the most common kind of positronic. They are roughly as intelligent \