From 44a8cef1d5f2433502f5982f1d57410f49bb3afc Mon Sep 17 00:00:00 2001 From: orwell Date: Mon, 3 Jun 2024 23:38:12 +0200 Subject: set_aspect: Flexibility, set aspect either via name or allow to fully specify table (for advanced signals) --- advtrains_signals_ks/init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'advtrains_signals_ks') diff --git a/advtrains_signals_ks/init.lua b/advtrains_signals_ks/init.lua index 52f8c58..46b9971 100755 --- a/advtrains_signals_ks/init.lua +++ b/advtrains_signals_ks/init.lua @@ -53,6 +53,7 @@ local applyaspectf_main = function(rot) if main_aspect.halt then -- halt aspect, set red and don't do anything further advtrains.ndb.swap_node(pos, {name="advtrains_signals_ks:hs_danger_"..rot, param2 = node.param2}) + setzs3(pos, "off", rot) setzs3v(pos, nil, rot) return end -- cgit v1.2.3