From 3917b295101beeb1060ed5a241091c20bfde259b Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Sat, 28 Feb 2026 20:13:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=81=9C=E6=AD=A2=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=E5=90=8C=E6=97=B6=E5=81=9C=E6=AD=A2=E8=B7=9F=E9=9A=8F?= =?UTF-8?q?=E8=80=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/render/map/extension/hero.ts | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/packages-user/client-modules/src/render/map/extension/hero.ts b/packages-user/client-modules/src/render/map/extension/hero.ts index 8da4fd2..19b4a85 100644 --- a/packages-user/client-modules/src/render/map/extension/hero.ts +++ b/packages-user/client-modules/src/render/map/extension/hero.ts @@ -298,16 +298,11 @@ export class MapHeroRenderer implements IMapHeroRenderer { this.entities.forEach(v => this.endEntityMoving(v)); } - stopMove(stopFollower: boolean): void { - if (stopFollower) { - this.entities.forEach(v => { - v.block.endMoving(); - this.endEntityMoving(v); - }); - } else { - this.heroEntity.block.endMoving(); - this.endEntityMoving(this.heroEntity); - } + stopMove(): void { + this.entities.forEach(v => { + v.block.endMoving(); + this.endEntityMoving(v); + }); } async move(direction: FaceDirection, time: number): Promise {