1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 04:40:22 +02:00

Settings: Use new settings object

This commit is contained in:
paramat
2017-05-22 14:41:17 +01:00
parent e523c3a296
commit eec1c5a03b
9 changed files with 16 additions and 16 deletions

View File

@ -1,6 +1,6 @@
creative = {}
local creative_mode_cache = minetest.setting_getbool("creative_mode")
local creative_mode_cache = minetest.settings:get_bool("creative_mode")
function creative.is_enabled_for(name)
return creative_mode_cache