From c6c63d78b765766cbe5e018cc30315adddf34df1 Mon Sep 17 00:00:00 2001 From: Noname995 Date: Thu, 1 Aug 2024 22:30:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D0=B8=D0=BC=20=D1=82?= =?UTF-8?q?=D0=BE,=20=D0=BF=D0=BE=D1=87=D0=B5=D0=BC=D1=83=20=D0=BB=D1=8E?= =?UTF-8?q?=D0=B4=D0=B8=20=D0=B2=D0=BE=20=D1=81=D0=BD=D0=B5=20=D0=B2=D0=B8?= =?UTF-8?q?=D0=B4=D1=8F=D1=82=20=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/modules/mob/hear_say.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/hear_say.dm b/code/modules/mob/hear_say.dm index ca5639c36c..0449492fd3 100644 --- a/code/modules/mob/hear_say.dm +++ b/code/modules/mob/hear_say.dm @@ -234,10 +234,10 @@ var/list/messages = splittext(message, " ") var/R = rand(1, messages.len) var/heardword = messages[R] - if(copytext(heardword,1, 1) in punctuation) - heardword = copytext(heardword,2) - if(copytext(heardword,-1) in punctuation) - heardword = copytext(heardword,1,length(heardword)) + if(copytext_char(heardword,1, 1) in punctuation) + heardword = copytext_char(heardword,2) + if(copytext_char(heardword,-1) in punctuation) + heardword = copytext_char(heardword,1,length(heardword)) heard = SPAN_LOCALSAY("...You hear something about...[heardword]") else