diff options
author | Y. Wang <yw05@forksworld.de> | 2022-10-24 13:51:03 +0200 |
---|---|---|
committer | Y. Wang <yw05@forksworld.de> | 2023-03-23 20:06:02 +0100 |
commit | 30a0f862488a0cb67f9a8e2aecaf17797ad44a93 (patch) | |
tree | 3da8bae4f0bd0deefe471818b031e91b3bdc08a3 /advtrains_interlocking/signal_aspect_ui.lua | |
parent | 34405b8431b7c758988b56cc09d21d6de74b727b (diff) | |
download | advtrains-30a0f862488a0cb67f9a8e2aecaf17797ad44a93.tar.gz advtrains-30a0f862488a0cb67f9a8e2aecaf17797ad44a93.tar.bz2 advtrains-30a0f862488a0cb67f9a8e2aecaf17797ad44a93.zip |
Properly handle repeater signals
Diffstat (limited to 'advtrains_interlocking/signal_aspect_ui.lua')
-rw-r--r-- | advtrains_interlocking/signal_aspect_ui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_interlocking/signal_aspect_ui.lua b/advtrains_interlocking/signal_aspect_ui.lua index 30b5165..ccedb01 100644 --- a/advtrains_interlocking/signal_aspect_ui.lua +++ b/advtrains_interlocking/signal_aspect_ui.lua @@ -219,7 +219,7 @@ local function get_aspect_from_formspec_t1(suppasp, fields) end local function get_aspect_from_formspec_t2(suppasp, fields) - local asp = advtrains.interlocking.aspects.type2main_to_type1(suppasp.group, tonumber(fields.asp)) + local asp = advtrains.interlocking.aspects.type2_to_type1(suppasp, tonumber(fields.asp)) return asp end |