mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
fix resource path priority
This commit is contained in:
@@ -66,7 +66,7 @@ void ModuleManager::discoverModulesPath()
|
||||
bool found = false;
|
||||
for(const std::string& dir : possibleDirs) {
|
||||
// try to add module directory
|
||||
if(g_resources.addToSearchPath(dir)) {
|
||||
if(g_resources.addToSearchPath(dir, false)) {
|
||||
logInfo("Using modules directory '", dir.c_str(), "'");
|
||||
found = true;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user