Merge pull request #75 from AntumDeluge/digtron
Check if 'digtron' global exists before calling in condition
This commit is contained in:
commit
b0580176b4
|
@ -144,7 +144,7 @@ dofile(advtrains.modpath.."/crafting.lua")
|
|||
dofile(advtrains.modpath.."/craft_items.lua")
|
||||
dofile(advtrains.modpath.."/loading.lua")
|
||||
|
||||
if digtron then
|
||||
if minetest.global_exists("digtron") then
|
||||
dofile(advtrains.modpath.."/digtron.lua")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue