From 4b95c86af6bcab8adad15a49e28e5ef69fbbe2ea Mon Sep 17 00:00:00 2001 From: HenryDu8133 <813367384@qq.com> Date: Sun, 2 Aug 2026 16:55:15 +0800 Subject: [PATCH] fix: align NBT destination with CRN display stopovers --- station_broadcast.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/station_broadcast.lua b/station_broadcast.lua index ab542b1..67be297 100644 --- a/station_broadcast.lua +++ b/station_broadcast.lua @@ -2,7 +2,7 @@ -- ============================================================================ -- 1. Configuration & Constants -- ============================================================================ -local APP_VERSION_TEXT = "v1.0.31" +local APP_VERSION_TEXT = "v1.0.32" local CONFIG = { CLOUD_URL = "ws://stabadmin.fse-media.group", @@ -2423,6 +2423,9 @@ function Main.loop() if st then local trainName = st.TrainName or "Unknown" local destination = st.Destination or "Unknown" + if type(stop.Stopovers) == "table" and #stop.Stopovers > 0 then + destination = stop.Stopovers[#stop.Stopovers] or destination + end local platform = stop.StationInfo and stop.StationInfo.Platform or State.stationPlatform or "1" local cancelled = false local reason = nil