aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/subgame.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subgame.cpp b/src/subgame.cpp
index 58881ecb8..d34530193 100644
--- a/src/subgame.cpp
+++ b/src/subgame.cpp
@@ -130,8 +130,12 @@ std::vector<WorldSpec> getAvailableWorlds()
}
// Check old world location
do{
+#ifdef RUN_IN_PLACE
std::string fullpath = porting::path_user + DIR_DELIM + ".."
+ DIR_DELIM + "world";
+#else
+ std::string fullpath = porting::path_user + DIR_DELIM + "world";
+#endif
if(!fs::PathExists(fullpath))
break;
std::string name = "Old World";