From 0ff4681d5e4a3946d1a57027264845607090cb0f Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Tue, 6 Jun 2017 20:50:12 -0700 Subject: [PATCH] Fix setting 'sneeker.debug' to 'false' by default --- settings.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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