Remove debug

This commit is contained in:
GreenXenith 2018-11-26 13:54:39 -08:00
parent bbfcc5149a
commit 8d6e11936d

View File

@ -65,18 +65,18 @@ minetest.register_craft({
})
-- former submods
if minetest.is_yes(minetest.setting_get("digilines_enable_inventory") or true) then
if minetest.is_yes(minetest.settings:get("digilines_enable_inventory") or true) then
dofile(modpath .. "/inventory.lua")
end
if minetest.is_yes(minetest.setting_get("digilines_enable_lcd") or true) then
if minetest.is_yes(minetest.settings:get("digilines_enable_lcd") or true) then
dofile(modpath .. "/lcd.lua")
end
if minetest.is_yes(minetest.setting_get("digilines_enable_lightsensor") or true) then
if minetest.is_yes(minetest.settings:get("digilines_enable_lightsensor") or true) then
dofile(modpath .. "/lightsensor.lua")
end
if minetest.is_yes(minetest.setting_get("digilines_enable_rtc") or true) then
if minetest.is_yes(minetest.settings:get("digilines_enable_rtc") or true) then
dofile(modpath .. "/rtc.lua")
end