Fix undeclared global in mcl_minecarts

This commit is contained in:
Wuzzy 2020-05-16 20:13:22 +02:00
parent 547080bd98
commit 7cfef25dfe

@ -309,7 +309,7 @@ local function register_entity(entity_id, mesh, textures, drop, on_rightclick, o
if not rou_pos then if not rou_pos then
rou_pos = vector.round(pos) rou_pos = vector.round(pos)
end end
rou_old = vector.round(self._old_pos) local rou_old = vector.round(self._old_pos)
if not node then if not node then
node = minetest.get_node(rou_pos) node = minetest.get_node(rou_pos)
end end