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