diff --git a/settings.lua b/settings.lua index e99c2ee..2728596 100644 --- a/settings.lua +++ b/settings.lua @@ -1,4 +1,7 @@ -- Settings for sneeker mod -sneeker.debug = minetest.settings:get_bool('sneeker.debug') or false +sneeker.debug = minetest.settings:get_bool('sneeker.debug') +if sneeker.debug == nil then + sneeker.debug = false +end