Skip to content
Browse files
Fix existence check trying to open files for writing
  • Loading branch information
ShadowNinja committed May 16, 2015
1 parent ab47385 commit 5c115e282c14f6b1d5979baa0fc3ea30e7d12f94
Showing 1 changed file with 1 addition and 1 deletion.
@@ -23,7 +23,7 @@ end
local path = minetest.get_modpath(minetest.get_current_modname())

local function load_module(path)
local file =
local file =, "r")
if not file then return end
return dofile(path)

0 comments on commit 5c115e2

Please sign in to comment.