fixes
parent
8f217a0838
commit
f23218eae9
|
@ -222,8 +222,8 @@ R3.CustomCode.prototype.render = function(delta) {
|
||||||
|
|
||||||
R3.CustomCode.prototype.move = function(data) {
|
R3.CustomCode.prototype.move = function(data) {
|
||||||
|
|
||||||
var x = data.x;
|
var x = data.x || 0;
|
||||||
var y = data.y;
|
var y = data.y || 0;
|
||||||
|
|
||||||
x *= 0.0025;
|
x *= 0.0025;
|
||||||
y *= 0.0075;
|
y *= 0.0075;
|
||||||
|
|
Loading…
Reference in New Issue