aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/train_sections.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-12-08 17:12:57 +0100
committerorwell96 <orwell@bleipb.de>2018-12-08 17:12:57 +0100
commitc3c5431412ddb65e08f55e56e1f51fb442b746b0 (patch)
tree03e15e99f6044427b093ffaf94779e1f22e9d874 /advtrains_interlocking/train_sections.lua
parente37f4f9188808c3a91be55ba90b9b666341af3cf (diff)
downloadadvtrains-c3c5431412ddb65e08f55e56e1f51fb442b746b0.tar.gz
advtrains-c3c5431412ddb65e08f55e56e1f51fb442b746b0.tar.bz2
advtrains-c3c5431412ddb65e08f55e56e1f51fb442b746b0.zip
Shunt signals (not exactly Ks), along with fixes in other components that those rely on
Diffstat (limited to 'advtrains_interlocking/train_sections.lua')
-rw-r--r--advtrains_interlocking/train_sections.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/advtrains_interlocking/train_sections.lua b/advtrains_interlocking/train_sections.lua
index c0a911e..762fd5d 100644
--- a/advtrains_interlocking/train_sections.lua
+++ b/advtrains_interlocking/train_sections.lua
@@ -174,6 +174,8 @@ advtrains.te_register_on_create(function(id, train)
else
atwarn("ILDB corruption: TCB",origin," has invalid TS reference")
end
+ -- Make train a shunt move
+ train.is_shunt = true
elseif ts_id==nil then
atwarn("Train",id,": Unable to determine whether to block a track section!")
else