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:
parent
2f4a92d701
commit
6b2023dc3e
2 changed files with 20 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue