aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-10-30 15:36:39 +0100
committerorwell96 <orwell@bleipb.de>2018-10-30 15:36:39 +0100
commitf8c00bcba37cfc47d0cac540f7cdf7a186f35df2 (patch)
tree2d401ffe3829b3725fc0076b64a83a002973085c
parentc4bac79bf07b2d94f97893c41889d619d1ef97e0 (diff)
downloadadvtrains-f8c00bcba37cfc47d0cac540f7cdf7a186f35df2.tar.gz
advtrains-f8c00bcba37cfc47d0cac540f7cdf7a186f35df2.tar.bz2
advtrains-f8c00bcba37cfc47d0cac540f7cdf7a186f35df2.zip
Make fillout_aspect also fill "info" field
-rw-r--r--advtrains_interlocking/signal_api.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains_interlocking/signal_api.lua b/advtrains_interlocking/signal_api.lua
index 021cbfd..8d78709 100644
--- a/advtrains_interlocking/signal_api.lua
+++ b/advtrains_interlocking/signal_api.lua
@@ -188,6 +188,9 @@ local function fillout_aspect(asp)
proceed_as_main = false,
}
end
+ if not asp.info then
+ asp.info = {}
+ end
end
function advtrains.interlocking.update_signal_aspect(tcbs)