From 24716620c520de034850d37ed9973e0af7930cc0 Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:40:02 +0300 Subject: [PATCH 1/2] remove \improper from text before cap --- code/__HELPERS/text.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/__HELPERS/text.dm b/code/__HELPERS/text.dm index ee9e734428487..e6c2e0f736f44 100644 --- a/code/__HELPERS/text.dm +++ b/code/__HELPERS/text.dm @@ -379,6 +379,8 @@ //Returns a string with the first element of the string capitalized. /proc/capitalize(t) + t = replacetext_char(t, "\improper", "") + t = replacetext_char(t, "\proper", "") . = t if(t) . = t[1] From 61db07c7dba86cfc87bfbaefafc4bc41c02fef97 Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:49:23 +0300 Subject: [PATCH 2/2] comments --- code/__HELPERS/text.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/__HELPERS/text.dm b/code/__HELPERS/text.dm index e6c2e0f736f44..d337f3026656f 100644 --- a/code/__HELPERS/text.dm +++ b/code/__HELPERS/text.dm @@ -379,8 +379,10 @@ //Returns a string with the first element of the string capitalized. /proc/capitalize(t) + // BANDASTATION EDIT START - Declents t = replacetext_char(t, "\improper", "") t = replacetext_char(t, "\proper", "") + // BANDASTATION EDIT END . = t if(t) . = t[1]