diff options
Diffstat (limited to 'nodes/(957,14,1047).lua')
-rw-r--r-- | nodes/(957,14,1047).lua | 6 |
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 |