fix warning about unassigned global variable

This commit is contained in:
Alexander Weber 2016-10-27 09:15:05 +02:00
parent 60270c9695
commit efe8db3717
2 changed files with 3 additions and 1 deletions

@ -1,5 +1,6 @@
dofile(minetest.get_modpath("carpets").."/carpet_api.lua")
carpets = {}
dofile(minetest.get_modpath("carpets").."/carpet_api.lua")
dofile(minetest.get_modpath("carpets").."/modutils.lua")
depmod = carpets.modutils.get_depmod("carpets")

@ -14,6 +14,7 @@ else
envroot = _G[currentmod]
end
-- framework stuff done. -- Now the tool
----------------------------------------
envroot.modutils = {}