mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-12 20:05:55 -05:00
Use map group order for initial map
This commit is contained in:
@@ -878,7 +878,7 @@ bool MainWindow::setInitialMap() {
|
||||
}
|
||||
|
||||
// Failed to open recent map/layout, or no recent map/layout. Try opening maps then layouts sequentially.
|
||||
for (const auto &name : editor->project->mapNames()) {
|
||||
for (const auto &name : editor->project->getMapNamesByGroup()) {
|
||||
if (name != recent && setMap(name))
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user