aboutsummaryrefslogtreecommitdiff
path: root/advtrains/nodedb.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/nodedb.lua')
-rw-r--r--advtrains/nodedb.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/nodedb.lua b/advtrains/nodedb.lua
index 45a51fe..2f014f8 100644
--- a/advtrains/nodedb.lua
+++ b/advtrains/nodedb.lua
@@ -262,7 +262,7 @@ ndb.restore_all = function()
end
else
ndb.clear(pos)
- atwarn("Found ghost node (former",ndbnode.name,") @",pos,"deleting")
+ atwarn("Found ghost node (former",ndbnode and ndbnode.name,") @",pos,"deleting")
end
end
end