mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Flatten share/ and user/ in the source and for the RUN_IN_PLACE build
This commit is contained in:
@@ -124,12 +124,7 @@ 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";
|
||||
|
Reference in New Issue
Block a user