aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/signal_api.lua
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2024-11-14 00:03:38 +0100
committerorwell <orwell@bleipb.de>2024-11-14 00:03:38 +0100
commitfe57e7dd089653e2361a4ebb0b34137a3261e198 (patch)
tree0bc1be5e530f6a7af857b8cefe29c1da5ae29b8b /advtrains_interlocking/signal_api.lua
parentd42f1bcf1a7ec18d392671be54636e7cad8b788b (diff)
downloadadvtrains-fe57e7dd089653e2361a4ebb0b34137a3261e198.tar.gz
advtrains-fe57e7dd089653e2361a4ebb0b34137a3261e198.tar.bz2
advtrains-fe57e7dd089653e2361a4ebb0b34137a3261e198.zip
Add Blocksignal mode for signals to autocreate simple block routeroute_prog_rework
Diffstat (limited to 'advtrains_interlocking/signal_api.lua')
-rw-r--r--advtrains_interlocking/signal_api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains_interlocking/signal_api.lua b/advtrains_interlocking/signal_api.lua
index bf14247..9b0479f 100644
--- a/advtrains_interlocking/signal_api.lua
+++ b/advtrains_interlocking/signal_api.lua
@@ -312,7 +312,7 @@ function signal.get_aspect_internal(pos, aspt)
-- case is fine, distant only signal
masp = signal.MASP_DEFAULT
else
- assert(ndefat.main_aspects, "With named aspects, node needs advtrains.main_aspects table!")
+ assert(ndefat.main_aspects, "With named aspects, node "..node.name.." needs advtrains.main_aspects table!")
-- resolve the main aspect from the mainaspects table
if not ndefat.main_aspects_lookup then
cache_mainaspects(ndefat)