settings: Use 'enable_debug_mods' instead of 'sneeker.debug'

This commit is contained in:
AntumDeluge 2017-06-27 17:29:04 -07:00
parent a56b9c2ce9
commit 7dcc78393a
2 changed files with 1 additions and 4 deletions

@ -1,7 +1,7 @@
-- Settings for sneeker mod -- 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 if sneeker.debug == nil then
sneeker.debug = false sneeker.debug = false
end end

@ -1,6 +1,3 @@
# Logs debug output.
sneeker.debug (Log debug output) bool false
# Sets maximum number of spawns that can exist in world. # Sets maximum number of spawns that can exist in world.
sneeker.spawn_cap (Maximum spawns) int 10 sneeker.spawn_cap (Maximum spawns) int 10