From 527472a5d472666bfe82d818e3a91da8325d3801 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Wed, 16 Sep 2020 16:32:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8B=87=E5=A3=AB=E5=BC=80an?= =?UTF-8?q?imate=E5=90=8E=E5=A4=A7=E5=9C=B0=E5=9B=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/control.js b/libs/control.js index 02027175..81a1c2e2 100644 --- a/libs/control.js +++ b/libs/control.js @@ -148,7 +148,7 @@ control.prototype._animationFrame_globalAnimate = function (timestamp) { }); // 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); } }