1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00

Re-create windows if loading park on title screen

This commit is contained in:
Ted John
2022-02-21 00:40:00 +00:00
parent af340cbf34
commit 8f34029e89

View File

@@ -214,7 +214,14 @@ namespace OpenRCT2::Scripting
parkImporter->Import();
auto old = gLoadKeepWindowsOpen;
gLoadKeepWindowsOpen = true;
// Unless we are already in the game, we have to re-create the windows
// so that the game toolbars are created.
if (gScreenFlags == SCREEN_FLAGS_PLAYING)
{
gLoadKeepWindowsOpen = true;
}
if (isScenario)
scenario_begin();
else