diff options
Diffstat (limited to 'builtin/profiler/sampling.lua')
-rw-r--r-- | builtin/profiler/sampling.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/profiler/sampling.lua b/builtin/profiler/sampling.lua index 1d1ef256d..4b53399a5 100644 --- a/builtin/profiler/sampling.lua +++ b/builtin/profiler/sampling.lua @@ -185,7 +185,7 @@ end function sampler.init() sampler.reset() - if core.setting_getbool("instrument.profiler") then + if core.settings:get_bool("instrument.profiler") then core.register_globalstep(function() if logged_time == 0 then return |