From 7dcc78393a025c857cd3d9af067ba371f69de0e1 Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Tue, 27 Jun 2017 17:29:04 -0700 Subject: [PATCH] settings: Use 'enable_debug_mods' instead of 'sneeker.debug' --- settings.lua | 2 +- settingtypes.txt | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/settings.lua b/settings.lua index 2728596..5c10074 100644 --- a/settings.lua +++ b/settings.lua @@ -1,7 +1,7 @@ -- Settings for sneeker mod -sneeker.debug = minetest.settings:get_bool('sneeker.debug') +sneeker.debug = minetest.settings:get_bool('enable_debug_mods') if sneeker.debug == nil then sneeker.debug = false end diff --git a/settingtypes.txt b/settingtypes.txt index 86f806b..17b3db2 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -1,6 +1,3 @@ -# Logs debug output. -sneeker.debug (Log debug output) bool false - # Sets maximum number of spawns that can exist in world. sneeker.spawn_cap (Maximum spawns) int 10