Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Commit

Permalink
Fix mod never starting
Browse files Browse the repository at this point in the history
The "/profiler" command is initialized lazily, i.e. after that mod.
Don't check for it.
  • Loading branch information
ElementW committed Aug 26, 2016
1 parent fa7aa3d commit 986c41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
@@ -1,4 +1,4 @@
if minetest.chatcommands['profiler'] then
if minetest.setting_getbool('profiler.load') then
local function get_interval()
return minetest.setting_get('profilerdumper.interval') or 10*60
end
Expand Down

0 comments on commit 986c41f

Please sign in to comment.