From c5cba510f423c20436cf113cd33b36a0d937a243 Mon Sep 17 00:00:00 2001 From: Crazylemon64 Date: Mon, 25 Jan 2016 11:19:43 -0800 Subject: [PATCH] No more duplicate shake messages on SSD people --- code/modules/mob/living/carbon/carbon.dm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 9c3e0e97294..09791623e51 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -261,10 +261,11 @@ mob/living AdjustStunned(-3) AdjustWeakened(-3) playsound(src.loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1) - M.visible_message( \ - "\blue [M] shakes [src] trying to wake [t_him] up!", \ - "\blue You shake [src] trying to wake [t_him] up!", \ - ) + if(!player_logged) + M.visible_message( \ + "\blue [M] shakes [src] trying to wake [t_him] up!", \ + "\blue You shake [src] trying to wake [t_him] up!", \ + ) // BEGIN HUGCODE - N3X else if (istype(src,/mob/living/carbon/human) && src:w_uniform)