From a6045f321d58df8369f82e6c8681ae4b8d59920e Mon Sep 17 00:00:00 2001 From: oc Date: Sun, 4 Feb 2018 15:37:20 +0800 Subject: [PATCH] setRequestAnimationFrame --- libs/core.js | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/core.js b/libs/core.js index 11470e07..1528dfb5 100644 --- a/libs/core.js +++ b/libs/core.js @@ -1676,6 +1676,7 @@ core.prototype.setHeroMoveInterval = function (direction, x, y, callback) { if (core.status.heroMoving>0) { return; } + core.status.heroMoving=1; // core.status.heroMoving = true; // var moveStep = 0; var scan = {