From 5c899b30bbaed969fd878ee322f880ecfb2596fd Mon Sep 17 00:00:00 2001 From: HenryDu8133 <813367384@qq.com> Date: Sun, 2 Aug 2026 12:02:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Trigger=20train=20pre-arrival=20broadcas?= =?UTF-8?q?t=20only=20on=20'=E7=8E=B0=E5=9C=A8'=20or=20'0'=20instead=20of?= =?UTF-8?q?=20'1=20min'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- station_broadcast.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/station_broadcast.lua b/station_broadcast.lua index 3f9d383..6ba6fb0 100644 --- a/station_broadcast.lua +++ b/station_broadcast.lua @@ -2,7 +2,7 @@ -- ============================================================================ -- 1. Configuration & Constants -- ============================================================================ -local APP_VERSION_TEXT = "v1.0.23" +local APP_VERSION_TEXT = "v1.0.24" local CONFIG = { CLOUD_URL = "ws://stabadmin.fse-media.group", @@ -2252,7 +2252,7 @@ function Main.loop() end if tName and etaVal then - if etaVal == "1" or etaVal == "现在" then + if etaVal == "现在" or etaVal == "0" then local announceKey = tName .. "_" .. dest local now = os.epoch("utc") -- Prevent spamming: CRN's "1 min" can be fuzzy and stay for a while.