aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/signal_api.lua
diff options
context:
space:
mode:
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)