mirror of https://github.com/OpenTTD/OpenTTD.git
Fix #12550: files were not saved in the right location when binary and configuration are in the same folder
This commit is contained in:
parent
3f06aa441b
commit
00c4b232b3
|
@ -84,7 +84,7 @@ static void FillValidSearchPaths(bool only_local_path)
|
|||
|
||||
std::set<std::string> seen{};
|
||||
for (Searchpath sp = SP_FIRST_DIR; sp < NUM_SEARCHPATHS; sp++) {
|
||||
if (sp == SP_WORKING_DIR) continue;
|
||||
if (sp == SP_WORKING_DIR && !_do_scan_working_directory) continue;
|
||||
|
||||
if (only_local_path) {
|
||||
switch (sp) {
|
||||
|
|
Loading…
Reference in New Issue