fix: 电摇嘲讽

This commit is contained in:
unanmed 2024-11-17 22:59:36 +08:00
parent 29359364b3
commit 83a60c5018

View File

@ -519,7 +519,7 @@ export class HeroMover extends ObjectMoverBase {
step: MoveStepDir, step: MoveStepDir,
controller: IMoveController controller: IMoveController
): Promise<HeroMoveCode> { ): Promise<HeroMoveCode> {
const showDir = toDir(this.faceDir); const showDir = toDir(this.moveDir);
core.setHeroLoc('direction', showDir); core.setHeroLoc('direction', showDir);
const { x, y } = core.status.hero.loc; const { x, y } = core.status.hero.loc;