From efe3fd939136fdc4544a159d65529096e933068c Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Wed, 12 Aug 2020 02:32:11 -0700 Subject: [PATCH 1/2] Update charter.dm --- code/game/objects/items/charter.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/objects/items/charter.dm b/code/game/objects/items/charter.dm index 5ed719ff94..17ed64ae78 100644 --- a/code/game/objects/items/charter.dm +++ b/code/game/objects/items/charter.dm @@ -13,6 +13,7 @@ var/ignores_timeout = FALSE var/response_timer_id = null var/approval_time = 600 + var/allow_unicode = FALSE var/static/regex/standard_station_regex @@ -48,6 +49,9 @@ if(!new_name) return + if(!unicode_allowed && (length(new_name) != length_char(new_name))) + to_chat(user, "Unicode is not allowed. Adminhelp if you want to use it so badly.") + return log_game("[key_name(user)] has proposed to name the station as \ [new_name]") From 4374194f52a03bfc8fc0d4f57329e6d328ab89c7 Mon Sep 17 00:00:00 2001 From: silicons <2003111+silicons@users.noreply.github.com> Date: Wed, 12 Aug 2020 02:40:03 -0700 Subject: [PATCH 2/2] Update charter.dm --- code/game/objects/items/charter.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/charter.dm b/code/game/objects/items/charter.dm index 17ed64ae78..9b658bc5f1 100644 --- a/code/game/objects/items/charter.dm +++ b/code/game/objects/items/charter.dm @@ -49,7 +49,7 @@ if(!new_name) return - if(!unicode_allowed && (length(new_name) != length_char(new_name))) + if(!allow_unicode && (length(new_name) != length_char(new_name))) to_chat(user, "Unicode is not allowed. Adminhelp if you want to use it so badly.") return log_game("[key_name(user)] has proposed to name the station as \