From 83a60c5018157124e36c805c11fc40fff445581f Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sun, 17 Nov 2024 22:59:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=B5=E6=91=87=E5=98=B2=E8=AE=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/game/state/move.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/state/move.ts b/src/game/state/move.ts index 48ecaed..d5aa354 100644 --- a/src/game/state/move.ts +++ b/src/game/state/move.ts @@ -519,7 +519,7 @@ export class HeroMover extends ObjectMoverBase { step: MoveStepDir, controller: IMoveController ): Promise { - const showDir = toDir(this.faceDir); + const showDir = toDir(this.moveDir); core.setHeroLoc('direction', showDir); const { x, y } = core.status.hero.loc;