From 1386980d3238ff5ef8d16cca96198d6bafd7d301 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Tue, 5 Sep 2023 16:01:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=BD=A6=E7=AE=AD=E5=A4=B4=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/graphics/train/Train.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/train/Train.ts b/src/graphics/train/Train.ts index 8fea1cf..411d014 100644 --- a/src/graphics/train/Train.ts +++ b/src/graphics/train/Train.ts @@ -173,7 +173,7 @@ export class TrainHead extends Container { arrow.beginFill(aColor, 1); arrow.drawPolygon(arrowPoint); arrow.endFill(); - if (states.dynamicState.speed > 0) { + if (states.dynamicState.speed != 0) { this.arrow.visible = true; } else { this.arrow.visible = false;