Skip to content

Commit

Permalink
Merge pull request #72 from HybridDog/globalfix
Browse files Browse the repository at this point in the history
fix an error message
  • Loading branch information
Uberi committed Feb 15, 2015
2 parents bb8456b + b468e24 commit b0fbcf1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions worldedit_infinity/depends.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
worldedit?
4 changes: 2 additions & 2 deletions worldedit_infinity/init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
worldedit = worldedit or {}
worldedit = rawget(_G, "worldedit") or {}
local minetest = minetest --local copy of global

local get_pointed = function(pos, nearest, distance)
Expand Down Expand Up @@ -100,4 +100,4 @@ worldedit.raytrace = function(pos, dir, callback)
intersectz = intersectz + componentz
end
end
end
end

0 comments on commit b0fbcf1

Please sign in to comment.