1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Properly handle mod name conflicts

This commit is contained in:
Perttu Ahola 2011-12-03 03:32:30 +02:00
parent 2f4a92d701
commit 6b2023dc3e
2 changed files with 20 additions and 2 deletions

View file

@ -881,9 +881,9 @@ Server::Server(
std::string builtinpath = porting::path_data + DIR_DELIM + "builtin.lua";
// Add default global mod search path
m_modspaths.push_back(porting::path_data + DIR_DELIM + "mods");
m_modspaths.push_front(porting::path_data + DIR_DELIM + "mods");
// Add world mod search path
m_modspaths.push_back(mapsavedir + DIR_DELIM + "mods");
m_modspaths.push_front(mapsavedir + DIR_DELIM + "mods");
// Initialize scripting