From 5134a4ebf0300c095baa3357ed43068ed4710e23 Mon Sep 17 00:00:00 2001 From: HenryDu8133 <813367384@qq.com> Date: Sun, 2 Aug 2026 16:22:44 +0800 Subject: [PATCH] fix: restore main loop block structure --- station_broadcast.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/station_broadcast.lua b/station_broadcast.lua index c886859..ef8e512 100644 --- a/station_broadcast.lua +++ b/station_broadcast.lua @@ -2327,9 +2327,8 @@ function Main.loop() end end end - -- Update Upcoming Trains globally for the monitor - State.upcomingTrains = newUpcoming - + end + -- Try CC:C Bridge Display Link (Legacy Text Parsing) if Block Reader is not available if not Peripherals.blockReader and Peripherals.createTarget then local lines = Peripherals.createTarget.dump() @@ -2410,6 +2409,9 @@ function Main.loop() end end + -- Update Upcoming Trains globally for the monitor + State.upcomingTrains = newUpcoming + if not Peripherals.station then State.currentTrain = nil Display.render()