(hopefully) fixes runtimes

This commit is contained in:
deathride58
2017-09-03 19:27:57 -04:00
parent ba52824b3a
commit a9e1b583a4

View File

@@ -54,7 +54,7 @@
. = ..()
if(force && force >=15)
shake_camera(user, ((force - 10) * 0.01 + 1), ((force - 10) * 0.01))
if(M.client.prefs)
if(M.client)
switch (M.client.prefs.damagescreenshake)
if (1)
shake_camera(M, ((force - 10) * 0.015 + 1), ((force - 10) * 0.015))