aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/train_sections.lua
diff options
context:
space:
mode:
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