summaryrefslogtreecommitdiff
path: root/il_timetable
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
commitb9f2668f2a5c348cd927530f87e245f25ed41a6b (patch)
treed1247f4bf8313d54a56f4af29d6c01944f8a3bac /il_timetable
parent08b2223c5d433a08b72f68754af480c515094079 (diff)
downloadluaatc_envs-b9f2668f2a5c348cd927530f87e245f25ed41a6b.tar.gz
luaatc_envs-b9f2668f2a5c348cd927530f87e245f25ed41a6b.tar.bz2
luaatc_envs-b9f2668f2a5c348cd927530f87e245f25ed41a6b.zip
State at 2023-11-23
Diffstat (limited to 'il_timetable')
-rw-r--r--il_timetable/init_code.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/il_timetable/init_code.lua b/il_timetable/init_code.lua
index 59cf8a2..a4aee4e 100644
--- a/il_timetable/init_code.lua
+++ b/il_timetable/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"