aboutsummaryrefslogtreecommitdiff
path: root/advtrains_signals_japan
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2024-06-11 22:30:40 +0200
committerorwell <orwell@bleipb.de>2024-06-11 22:30:40 +0200
commit72cae1327527672afe2bbb47662d42a44f086942 (patch)
tree7283d5d08a4f5ea46414cad2e76dc7b99b347125 /advtrains_signals_japan
parent44a8cef1d5f2433502f5982f1d57410f49bb3afc (diff)
downloadadvtrains-72cae1327527672afe2bbb47662d42a44f086942.tar.gz
advtrains-72cae1327527672afe2bbb47662d42a44f086942.tar.bz2
advtrains-72cae1327527672afe2bbb47662d42a44f086942.zip
Fix more setstate stuff with new API (compat legacy)
Diffstat (limited to 'advtrains_signals_japan')
-rw-r--r--advtrains_signals_japan/init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/advtrains_signals_japan/init.lua b/advtrains_signals_japan/init.lua
index d7cf035..fc33e63 100644
--- a/advtrains_signals_japan/init.lua
+++ b/advtrains_signals_japan/init.lua
@@ -447,9 +447,9 @@ for _, rtab in ipairs {
end,
]]
},
- 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,
})
--advtrains.trackplacer.add_worked("advtrains_signals_japan:"..sigtype, asp, "_"..rot)
end