From 92480d60b43efece88842c72f4541bdc59aac773 Mon Sep 17 00:00:00 2001 From: Giacomand Date: Wed, 11 Dec 2013 04:17:46 +0000 Subject: [PATCH] Fixes the screen shaking from having your camera get stuck on a turf. --- code/modules/mob/mob_helpers.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/mob_helpers.dm b/code/modules/mob/mob_helpers.dm index bbb0f870baf..9310e32b968 100644 --- a/code/modules/mob/mob_helpers.dm +++ b/code/modules/mob/mob_helpers.dm @@ -264,9 +264,9 @@ It's fairly easy to fix if dealing with single letters but not so much with comp /proc/shake_camera(mob/M, duration, strength=1) - if(!M || !M.client || M.shakecamera) - return - spawn(1) + spawn(0) + if(!M || !M.client || M.shakecamera) + return var/oldeye=M.client.eye var/x M.shakecamera = 1