aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/train_sections.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-02-16 13:09:33 +0100
committerorwell96 <orwell@bleipb.de>2019-02-16 13:09:33 +0100
commitee079d02ff09c4ae4bc63d892e83146dfe6edd6c (patch)
tree833710c1cdfdcc857a2fe144db41c45aab030188 /advtrains_interlocking/train_sections.lua
parentaa2b08b9853261e5e674348ffe122736dbd02b0b (diff)
downloadadvtrains-ee079d02ff09c4ae4bc63d892e83146dfe6edd6c.tar.gz
advtrains-ee079d02ff09c4ae4bc63d892e83146dfe6edd6c.tar.bz2
advtrains-ee079d02ff09c4ae4bc63d892e83146dfe6edd6c.zip
Improve Signal IP form/workflow
Diffstat (limited to 'advtrains_interlocking/train_sections.lua')
-rw-r--r--advtrains_interlocking/train_sections.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_interlocking/train_sections.lua b/advtrains_interlocking/train_sections.lua
index 21d3d13..757f36a 100644
--- a/advtrains_interlocking/train_sections.lua
+++ b/advtrains_interlocking/train_sections.lua
@@ -65,7 +65,7 @@ local function setsection(tid, train, ts_id, ts, sigd)
-- train
if not train.il_sections then train.il_sections = {} end
if not itkexist(train.il_sections, "ts_id", ts_id) then
- table.insert(train.il_sections, {ts_id = ts_id, origin = origin})
+ table.insert(train.il_sections, {ts_id = ts_id, origin = sigd})
end
-- ts