aboutsummaryrefslogtreecommitdiff
path: root/advtrains/nodedb.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/nodedb.lua')
-rw-r--r--advtrains/nodedb.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/advtrains/nodedb.lua b/advtrains/nodedb.lua
index a4fbf0a..ab49192 100644
--- a/advtrains/nodedb.lua
+++ b/advtrains/nodedb.lua
@@ -135,9 +135,6 @@ end
function ndb.swap_node(pos, node, no_inval)
minetest.swap_node(pos, node)
ndb.update(pos, node)
- if not no_inval then
- advtrains.invalidate_all_paths(pos)
- end
end
function ndb.update(pos, pnode)