diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp index dd5b06776..130ddcc80 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -278,7 +278,6 @@ class LoginListener final : public gcn::ActionListener Client::Client(const Options &options) : gcn::ActionListener(), mOptions(options), - mPackageDir(), mConfigDir(), mServerConfigDir(), mLocalDataDir(), @@ -548,7 +547,7 @@ void Client::gameInit() // mPackageDir = path; #endif resman->addToSearchPath(PKG_DATADIR "data", false); - mPackageDir = PKG_DATADIR "data"; + setPackageDir(PKG_DATADIR "data"); resman->addToSearchPath("data", false); #ifdef ANDROID |