1
0
Fork 0

Fix undeclared global in mcl_minecarts

This commit is contained in:
Wuzzy 2020-05-16 20:13:22 +02:00
parent 547080bd98
commit 7cfef25dfe
1 changed files with 1 additions and 1 deletions

View File

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