Skip to content
Snippets Groups Projects
Commit 2e0c0e9d authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Fix old world search path for non-run-in-place build

parent db5db587
No related branches found
No related tags found
No related merge requests found
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment