Fix a small bug

This commit is contained in:
oc 2018-02-08 13:38:06 +08:00
parent f30ccb5665
commit fa5aece101

View File

@ -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},