aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/builtin/builtin.lua (renamed from share/builtin.lua)0
-rw-r--r--src/server.cpp3
2 files changed, 2 insertions, 1 deletions
diff --git a/share/builtin.lua b/share/builtin/builtin.lua
index 9b2bed33f..9b2bed33f 100644
--- a/share/builtin.lua
+++ b/share/builtin/builtin.lua
diff --git a/src/server.cpp b/src/server.cpp
index 1060426b3..b95d04713 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -890,7 +890,8 @@ Server::Server(
infostream<<"- addons: "<<(*i)<<std::endl;
// Path to builtin.lua
- std::string builtinpath = porting::path_share + DIR_DELIM + "builtin.lua";
+ std::string builtinpath = porting::path_share + DIR_DELIM + "builtin"
+ + DIR_DELIM + "builtin.lua";
// Add default global mod search path
m_modspaths.push_front(m_gamespec.path + DIR_DELIM "mods");