summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 38870b50f..29fdc971a 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -324,7 +324,7 @@ void Client::gameInit()
#endif // ANDROID
ResourceManager::init();
- if (!resourceManager->setWriteDir(settings.localDataDir))
+ if (!VirtFs::setWriteDir(settings.localDataDir))
{
logger->error(strprintf("%s couldn't be set as home directory! "
"Exiting.", settings.localDataDir.c_str()));