From 476b64bd76131dc5fe8c9774a7bfb5ee695f5b96 Mon Sep 17 00:00:00 2001 From: Giacomand Date: Fri, 1 Nov 2013 23:51:00 +0000 Subject: [PATCH] Fixes #1691 by limiting the show_message proc. --- code/modules/mob/mob.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index a129bf1529c..fd8235e2459 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -38,6 +38,8 @@ var/next_mob_id = 0 if(!client) return + msg = copytext(msg, 1, MAX_MESSAGE_LEN) + if (type) if(type & 1 && (sdisabilities & BLIND || blinded || paralysis) )//Vision related if (!( alt ))