diff options
author | orwell96 <orwell@bleipb.de> | 2018-12-08 18:23:34 +0100 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2018-12-08 18:23:34 +0100 |
commit | 7a970dd4fab46461ee6dc43064b7972bac6304ea (patch) | |
tree | 876753ec4536c2483109726f16c6ea1240c5b082 /advtrains_line_automation/stoprail.lua | |
parent | c3c5431412ddb65e08f55e56e1f51fb442b746b0 (diff) | |
download | advtrains-7a970dd4fab46461ee6dc43064b7972bac6304ea.tar.gz advtrains-7a970dd4fab46461ee6dc43064b7972bac6304ea.tar.bz2 advtrains-7a970dd4fab46461ee6dc43064b7972bac6304ea.zip |
Signs (static signals)
Diffstat (limited to 'advtrains_line_automation/stoprail.lua')
-rw-r--r-- | advtrains_line_automation/stoprail.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains_line_automation/stoprail.lua b/advtrains_line_automation/stoprail.lua index e33e67a..b4c8d7d 100644 --- a/advtrains_line_automation/stoprail.lua +++ b/advtrains_line_automation/stoprail.lua @@ -15,10 +15,10 @@ local adefunc = function(def, preset, suffix, rotation) end, advtrains = { on_train_enter = function(pos, train_id) + local train = advtrains.trains[train_id] + --advtrains.atc.train_set_command(train, "B0 OR D8 OC D1", true) end, on_train_approach = function(pos,train_id, train, index) - --atdebug("Train approaches stop:",pos,train_id,index) - --TODO conditions advtrains.interlocking.lzb_add_oncoming_npr(train, index, 2) end, }, |