diff --git a/3d_armor/init.lua b/3d_armor/init.lua index 4978d11..f7f646b 100644 --- a/3d_armor/init.lua +++ b/3d_armor/init.lua @@ -44,7 +44,7 @@ for name, config in pairs(armor.config) do elseif type(config) == "boolean" then setting = minetest.setting_getbool("armor_"..name) end - if setting then + if setting ~= nil then armor.config[name] = setting end end