mirror of
https://github.com/edubart/otclient.git
synced 2025-06-27 12:20:12 +02:00
fix resource path priority
This commit is contained in:
parent
c7619316bb
commit
e46f5fcb69
2
.gitignore
vendored
2
.gitignore
vendored
@ -11,5 +11,7 @@ otclient.exe
|
|||||||
otclient.kdev4
|
otclient.kdev4
|
||||||
CMakeLists.txt.user
|
CMakeLists.txt.user
|
||||||
callgrind.out.*
|
callgrind.out.*
|
||||||
|
modules/myotclientrc.lua
|
||||||
|
modules/myconfig.otml
|
||||||
!.gitignore
|
!.gitignore
|
||||||
*.kate-swp
|
*.kate-swp
|
||||||
|
@ -66,7 +66,7 @@ void ModuleManager::discoverModulesPath()
|
|||||||
bool found = false;
|
bool found = false;
|
||||||
for(const std::string& dir : possibleDirs) {
|
for(const std::string& dir : possibleDirs) {
|
||||||
// try to add module directory
|
// try to add module directory
|
||||||
if(g_resources.addToSearchPath(dir)) {
|
if(g_resources.addToSearchPath(dir, false)) {
|
||||||
logInfo("Using modules directory '", dir.c_str(), "'");
|
logInfo("Using modules directory '", dir.c_str(), "'");
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user