1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Fix mapgen window reverting to flatland when selecting heightmap image

This commit is contained in:
Aaron van Geffen
2025-01-02 12:30:51 +01:00
parent a809f48106
commit c0505bb164
2 changed files with 2 additions and 0 deletions

View File

@@ -1546,6 +1546,7 @@ namespace OpenRCT2::Ui::Windows
// The window needs to be open while using the map
_heightmapLoaded = true;
_heightmapFilename = fs::u8path(path).filename().string();
_settings.algorithm = MapGenerator::Algorithm::heightmapImage;
SetPage(WINDOW_MAPGEN_PAGE_BASE);
}
}