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.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/builtin/game/init.lua b/builtin/game/init.lua
index b878a2664..3f82f85c7 100644
--- a/builtin/game/init.lua
+++ b/builtin/game/init.lua
@@ -7,6 +7,11 @@ dofile(commonpath.."vector.lua")
dofile(gamepath.."item.lua")
dofile(gamepath.."register.lua")
+
+if core.setting_getbool("mod_profiling") then
+ dofile(gamepath.."mod_profiling.lua")
+end
+
dofile(gamepath.."item_entity.lua")
dofile(gamepath.."deprecated.lua")
dofile(gamepath.."misc.lua")