Skip to content

Commit

Permalink
Fix undeclared global warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Ezhh committed Feb 20, 2017
1 parent 3ae1a8a commit 0b0e707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Expand Up @@ -37,7 +37,7 @@ minetest.register_globalstep(function(dtime)
local pos = player:getpos()

pos.y = pos.y + 1.5 -- head level
head_node = node_ok(pos)
local head_node = node_ok(pos)

pos.y = pos.y - 1.5 -- reset pos

Expand Down

0 comments on commit 0b0e707

Please sign in to comment.