aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-11-02 23:15:16 +0100
committerorwell96 <orwell@bleipb.de>2021-11-02 23:15:16 +0100
commitae152bf5bba370c1ace3763054176e5a7d083ae9 (patch)
treed85ed0b1af38ea6d2545fe922196427cd8de1dd0 /advtrains
parent35d5106a2141a3de83a8add3996ecc2dfbd141e7 (diff)
downloadadvtrains-ae152bf5bba370c1ace3763054176e5a7d083ae9.tar.gz
advtrains-ae152bf5bba370c1ace3763054176e5a7d083ae9.tar.bz2
advtrains-ae152bf5bba370c1ace3763054176e5a7d083ae9.zip
LuaATC: Add Mesecons LuaATC Controller (similar to Mesecons Luacontroller)
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/nodedb.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/nodedb.lua b/advtrains/nodedb.lua
index 36b5dea..41ac089 100644
--- a/advtrains/nodedb.lua
+++ b/advtrains/nodedb.lua
@@ -302,7 +302,7 @@ ndb.run_lbm = function(pos, node)
minetest.swap_node(pos, newnode)
local ndef=minetest.registered_nodes[nodeid]
if ndef and ndef.advtrains and ndef.advtrains.on_updated_from_nodedb then
- ndef.advtrains.on_updated_from_nodedb(pos, newnode)
+ ndef.advtrains.on_updated_from_nodedb(pos, newnode, node)
end
return true
end