Should work

This commit is contained in:
deathride58
2017-09-23 13:17:21 -04:00
parent 20700dab57
commit 4e793a5630
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -8,8 +8,9 @@
return
var/oldx = C.pixel_x
var/oldy = C.pixel_y
var/max = ((C.prefs.screenshake==1) ? strength : strength*0.25) *world.icon_size
var/min = -(((C.prefs.screenshake==1) ? strength : strength*0.25)*world.icon_size)
var/clientscreenshake = (C.prefs.screenshake * 0.01)
var/max = (strength*clientscreenshake) * world.icon_size
var/min = -((strength*clientscreenshake) * world.icon_size)
for(var/i in 0 to duration-1)
if (i == 0)