add fallback map loading in BB solo mode

This commit is contained in:
Martin Michelsen
2023-09-12 19:48:43 -07:00
parent 2f663ef2b3
commit 215c181798
+3 -3
View File
@@ -780,11 +780,11 @@ vector<string> map_filenames_for_variation(
vector<string> ret;
if (is_solo) {
// Try both _offe.dat and e_s.dat suffixes
// Try both _offe.dat and e_s.dat suffixes first before falling back to
// non-solo version
ret.emplace_back(filename + "_offe.dat");
ret.emplace_back(filename + "e_s.dat");
} else {
ret.emplace_back(filename + "e.dat");
}
ret.emplace_back(filename + "e.dat");
return ret;
}