From e9f33606c3e3cb6d23ebe663d91edceb2a899356 Mon Sep 17 00:00:00 2001 From: Matthew J <12817816+ZephyrTFA@users.noreply.github.com> Date: Wed, 14 Jul 2021 16:21:12 -0400 Subject: [PATCH] Fixes an issue with /proc/truncate (#60199) --- code/__HELPERS/text.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/__HELPERS/text.dm b/code/__HELPERS/text.dm index a4c42c25691..ed0c6b1bf34 100644 --- a/code/__HELPERS/text.dm +++ b/code/__HELPERS/text.dm @@ -314,6 +314,7 @@ /proc/truncate(text, max_length) if(length(text) > max_length) return copytext(text, 1, max_length) + return text //Returns a string with reserved characters and spaces before the first word and after the last word removed. /proc/trim(text, max_length)