mirror of
https://github.com/edubart/otclient.git
synced 2025-12-22 00:17:10 +01:00
lua console and some changes
This commit is contained in:
@@ -30,14 +30,14 @@ void ResourceManager::init(const char* argv0)
|
||||
}
|
||||
|
||||
if(!found)
|
||||
logFatal("FATAL ERROR: could not find modules directory");
|
||||
logFatal("could not find modules directory");
|
||||
|
||||
// setup write directory
|
||||
std::string dir = g_platform.getAppUserDir();
|
||||
if(g_resources.setWriteDir(dir))
|
||||
g_resources.addToSearchPath(dir);
|
||||
else
|
||||
logError("ERROR: could not setup write directory");
|
||||
logError("could not setup write directory");
|
||||
}
|
||||
|
||||
void ResourceManager::terminate()
|
||||
|
||||
Reference in New Issue
Block a user