From fe620eccb283a9d6e15c8fdbf564e8e2142da749 Mon Sep 17 00:00:00 2001 From: orwell Date: Wed, 11 Dec 2024 01:13:23 +0100 Subject: ks signals: fix signs; mark routes with illegal end TCB as invalid --- advtrains_signals_ks/init.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'advtrains_signals_ks/init.lua') diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua index a85bec9..eb23930 100755 --- a/advtrains_signals_ks/init.lua +++ b/advtrains_signals_ks/init.lua @@ -411,11 +411,12 @@ for _, rtab in ipairs({ advtrains = { get_aspect_info = asp, trackworker_next_rot = "advtrains_signals_ks:"..prefix.."_"..typ.."_"..rtab.nextrot, - trackworker_rot_incr_param2 = (rot=="60") + trackworker_rot_incr_param2 = (rot=="60"), + trackworker_next_var = "advtrains_signals_ks:"..prefix.."_"..nxt.."_"..rot, }, - on_rightclick = advtrains.interlocking.signal_rc_handler, - can_dig = advtrains.interlocking.signal_can_dig, - after_dig_node = advtrains.interlocking.signal_after_dig, + on_rightclick = advtrains.interlocking.signal.on_rightclick, + can_dig = advtrains.interlocking.signal.can_dig, + after_dig_node = advtrains.interlocking.signal.after_dig, }) -- rotatable by trackworker --TODO add rotation using trackworker -- cgit v1.2.3