Fixes the screen shaking from having your camera get stuck on a turf.

This commit is contained in:
Giacomand
2013-12-11 04:17:46 +00:00
parent 20b1c54ec4
commit 92480d60b4
+3 -3
View File
@@ -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