1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 00:34:46 +01:00

InstallTrack: force the object selection window to close

This commit is contained in:
Aaron van Geffen
2025-03-31 17:03:44 +02:00
parent 31b65ddb84
commit 0b10bd463e

View File

@@ -422,7 +422,7 @@ namespace OpenRCT2::Ui::Windows
}
auto* windowMgr = Ui::GetWindowManager();
windowMgr->CloseByClass(WindowClass::EditorObjectSelection);
windowMgr->ForceClose(WindowClass::EditorObjectSelection);
windowMgr->CloseConstructionWindows();
gTrackDesignSceneryToggle = false;