summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index a35a671f1..8f1110162 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -545,8 +545,9 @@ void Client::gameInit()
#ifdef USE_SDL2
if (getenv("APPDIR"))
{
- resman->addToSearchPath(std::string(getenv("APPDIR"))
- + "/data", false);
+ const std::string appDir = getenv("APPDIR");
+ resman->addToSearchPath(appDir + "/data", false);
+ resman->addToSearchPath(appDir + "/data/perserver/default", false);
}
#endif
#endif