fix pushbox
This commit is contained in:
parent
a80383e0fb
commit
8d4e5daaec
@ -2178,12 +2178,19 @@ events.prototype.pushBox = function (data) {
|
|||||||
core.updateStatusBar();
|
core.updateStatusBar();
|
||||||
|
|
||||||
core.status.replay.animate = true;
|
core.status.replay.animate = true;
|
||||||
core.moveHero(direction, function() {
|
core.lockControl();
|
||||||
core.status.replay.animate = false;
|
setTimeout(function () {
|
||||||
core.status.route.pop();
|
core.moveHero(direction, function() {
|
||||||
core.events.afterPushBox();
|
core.status.replay.animate = false;
|
||||||
core.replay();
|
core.status.route.pop();
|
||||||
});
|
core.events.afterPushBox();
|
||||||
|
// 可能有阻击...
|
||||||
|
if (core.status.event.id == null) {
|
||||||
|
core.unLockControl();
|
||||||
|
core.replay();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user