From 5da37ad97946f348268cb163db511cdaf1a256d1 Mon Sep 17 00:00:00 2001 From: autocommitter Date: Mon, 22 Apr 2024 15:03:17 +0200 Subject: State at 2023-11-23 --- init_code.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init_code.lua b/init_code.lua index 59cf8a2..a4aee4e 100644 --- a/init_code.lua +++ b/init_code.lua @@ -367,7 +367,7 @@ F.ttp_stop({ if tti.recording_train == atc_id then -- we are recording. save travel time tti.travel_times[p.stn] = rwt.diff(trn.initial_dep or 0, time_now) - print(atc_id," for ",p.tt,"at",p.stn,"-> travel time",rwt.to_string(tti.travel_times[p.stn])) + print(atc_id,"for",tt,"at",p.stn,"-> travel time",rwt.to_string(tti.travel_times[p.stn])) tti.station_order[#tti.station_order+1] = p.stn atc_set_text_inside(p.stn.."\nRec TT " ..rwt.to_string(tti.travel_times[p.stn], true).." Da" -- cgit v1.2.3