Replace various map constant arrays with data stored in Map objects

This commit is contained in:
GriffinR
2025-03-14 14:45:28 -04:00
parent f03d817800
commit a0a8c71096
8 changed files with 96 additions and 122 deletions

View File

@@ -1384,7 +1384,7 @@ void MainWindow::openNewMapDialog() {
}
void MainWindow::openDuplicateMapDialog(const QString &mapName) {
const Map *map = this->editor->project->getMap(mapName);
const Map *map = this->editor->project->loadMap(mapName);
if (map) {
auto dialog = new NewMapDialog(this->editor->project, map, this);
dialog->open();