summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 15:03:17 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 15:03:17 +0200
commit5da37ad97946f348268cb163db511cdaf1a256d1 (patch)
treec85b5648ee102ba2fe918566022f9644e4098725
parentcf843837af8caab70458cf554dc203ca6818623c (diff)
downloadil_timetable-5da37ad97946f348268cb163db511cdaf1a256d1.tar.gz
il_timetable-5da37ad97946f348268cb163db511cdaf1a256d1.tar.bz2
il_timetable-5da37ad97946f348268cb163db511cdaf1a256d1.zip
State at 2023-11-23
-rw-r--r--init_code.lua2
1 files changed, 1 insertions, 1 deletions
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"