mirror of
https://github.com/minetest-mods/digilines.git
synced 2024-11-14 22:30:24 +01:00
Revert "Remove debug" (I dont know what happened there)
This reverts commit 8d6e11936d
.
This commit is contained in:
parent
8d6e11936d
commit
e39cdc71ce
8
init.lua
8
init.lua
|
@ -65,18 +65,18 @@ minetest.register_craft({
|
||||||
})
|
})
|
||||||
|
|
||||||
-- former submods
|
-- former submods
|
||||||
if minetest.is_yes(minetest.settings:get("digilines_enable_inventory") or true) then
|
if minetest.is_yes(minetest.setting_get("digilines_enable_inventory") or true) then
|
||||||
dofile(modpath .. "/inventory.lua")
|
dofile(modpath .. "/inventory.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.is_yes(minetest.settings:get("digilines_enable_lcd") or true) then
|
if minetest.is_yes(minetest.setting_get("digilines_enable_lcd") or true) then
|
||||||
dofile(modpath .. "/lcd.lua")
|
dofile(modpath .. "/lcd.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.is_yes(minetest.settings:get("digilines_enable_lightsensor") or true) then
|
if minetest.is_yes(minetest.setting_get("digilines_enable_lightsensor") or true) then
|
||||||
dofile(modpath .. "/lightsensor.lua")
|
dofile(modpath .. "/lightsensor.lua")
|
||||||
end
|
end
|
||||||
|
|
||||||
if minetest.is_yes(minetest.settings:get("digilines_enable_rtc") or true) then
|
if minetest.is_yes(minetest.setting_get("digilines_enable_rtc") or true) then
|
||||||
dofile(modpath .. "/rtc.lua")
|
dofile(modpath .. "/rtc.lua")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user