From f8c00bcba37cfc47d0cac540f7cdf7a186f35df2 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Tue, 30 Oct 2018 15:36:39 +0100 Subject: Make fillout_aspect also fill "info" field --- advtrains_interlocking/signal_api.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'advtrains_interlocking') 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) -- cgit v1.2.3