修复勇士开animate后大地图问题

This commit is contained in:
ckcz123 2020-09-16 16:32:52 +08:00
parent 9bb9ab6701
commit 527472a5d4

View File

@ -148,7 +148,7 @@ control.prototype._animationFrame_globalAnimate = function (timestamp) {
}); });
// Global hero animate // Global hero animate
if ((core.status.hero || {}).animate && core.status.heroMoving == 0) { if ((core.status.hero || {}).animate && core.status.heroMoving == 0 && main.mode == 'play') {
core.drawHero('stop', null, core.status.globalAnimateStatus); core.drawHero('stop', null, core.status.globalAnimateStatus);
} }
} }