summaryrefslogtreecommitdiff
path: root/nodes/(957,14,1047).lua
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:38 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:38 +0200
commit919dbef9da1345a4c30f768ca99d63402dd606a3 (patch)
treee8947aa6e3eb2faff51e842f893dfda6392f47d5 /nodes/(957,14,1047).lua
parentf50738ad5ee065da57ff6211ed34c4fd15be703e (diff)
downloadil_timetable-919dbef9da1345a4c30f768ca99d63402dd606a3.tar.gz
il_timetable-919dbef9da1345a4c30f768ca99d63402dd606a3.tar.bz2
il_timetable-919dbef9da1345a4c30f768ca99d63402dd606a3.zip
State at 2021-04-04
Diffstat (limited to 'nodes/(957,14,1047).lua')
-rw-r--r--nodes/(957,14,1047).lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/nodes/(957,14,1047).lua b/nodes/(957,14,1047).lua
index 74760fd..d28a823 100644
--- a/nodes/(957,14,1047).lua
+++ b/nodes/(957,14,1047).lua
@@ -2,6 +2,10 @@
-- d_off: Departure time offset
-- function F.stop_sd(st_name, doors, departcommand, minstoptime, d_int, d_off)
F.stop_sd_sched("Ehlodex", "R", "SM", 10, 60, 0)
+
+if event.train then
+ F.timetake_end("E1-Psh-Ehl")
+end
if depart then
- setstate("Ehl6ARSPreventer", "st")
+ F.timetake_start("E1-Ehl-Spn")
end \ No newline at end of file