aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/game/init.lua')
-rw-r--r--builtin/game/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/init.lua b/builtin/game/init.lua
index 3e192a30a..e2635f07a 100644
--- a/builtin/game/init.lua
+++ b/builtin/game/init.lua
@@ -13,7 +13,7 @@ dofile(gamepath.."constants.lua")
assert(loadfile(gamepath.."item.lua"))(builtin_shared)
dofile(gamepath.."register.lua")
-if core.setting_getbool("profiler.load") then
+if core.settings:get_bool("profiler.load") then
profiler = dofile(scriptpath.."profiler"..DIR_DELIM.."init.lua")
end