From fa5aece101f9ed4c2d72775b44d915c603a8b383 Mon Sep 17 00:00:00 2001 From: oc Date: Thu, 8 Feb 2018 13:38:06 +0800 Subject: [PATCH] Fix a small bug --- libs/core.js | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/core.js b/libs/core.js index 2aceae5b..befe9eaa 100644 --- a/libs/core.js +++ b/libs/core.js @@ -1841,6 +1841,7 @@ core.prototype.setHeroMoveInterval = function (direction, x, y, callback) { ////// 实际每一步的行走过程 ////// core.prototype.moveAction = function (callback) { if (core.interval.openDoorAnimate!=null) return; // 开门判断 + if (core.status.heroMoving>0) return; var scan = { 'up': {'x': 0, 'y': -1}, 'left': {'x': -1, 'y': 0},