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.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/game/init.lua b/builtin/game/init.lua
index 3f82f85c7..a6cfa3bf8 100644
--- a/builtin/game/init.lua
+++ b/builtin/game/init.lua
@@ -1,10 +1,11 @@
-local scriptpath = minetest.get_builtin_path()..DIR_DELIM
+local scriptpath = core.get_builtin_path()..DIR_DELIM
local commonpath = scriptpath.."common"..DIR_DELIM
local gamepath = scriptpath.."game"..DIR_DELIM
dofile(commonpath.."vector.lua")
+dofile(gamepath.."constants.lua")
dofile(gamepath.."item.lua")
dofile(gamepath.."register.lua")
@@ -25,4 +26,3 @@ dofile(gamepath.."features.lua")
dofile(gamepath.."voxelarea.lua")
dofile(gamepath.."forceloading.lua")
dofile(gamepath.."statbars.lua")
-