From f23218eae997dcb1338e07668bc939b805c530f1 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 21 May 2018 15:02:20 +0200 Subject: [PATCH] fixes --- ff0fsum4zx.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ff0fsum4zx.js b/ff0fsum4zx.js index 7b6bd52..f0dd121 100644 --- a/ff0fsum4zx.js +++ b/ff0fsum4zx.js @@ -222,8 +222,8 @@ R3.CustomCode.prototype.render = function(delta) { R3.CustomCode.prototype.move = function(data) { - var x = data.x; - var y = data.y; + var x = data.x || 0; + var y = data.y || 0; x *= 0.0025; y *= 0.0075;