From 8129c1222bc806cdfff771743b397d2f5df383a0 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Thu, 28 Sep 2023 17:49:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/graphics/turnout/Turnout.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/turnout/Turnout.ts b/src/graphics/turnout/Turnout.ts index d6a3e8e..7cf0924 100644 --- a/src/graphics/turnout/Turnout.ts +++ b/src/graphics/turnout/Turnout.ts @@ -216,7 +216,7 @@ export class Turnout extends JlGraphic { } initTurnoutTurning() { // 道岔转动 - const name = `${this.datas.id}turnout_turning`; + const name = 'turnout_turning'; let turnoutTurning = this.animation(name); if (!turnoutTurning) { turnoutTurning = GraphicAnimation.init({ @@ -232,7 +232,7 @@ export class Turnout extends JlGraphic { turnoutTurning.resume(); } stopTurnoutTurning() { - const name = `${this.datas.id}turnout_turning`; + const name = 'turnout_turning'; const turnoutTurning = this.animation(name); if (turnoutTurning) { turnoutTurning.pause();