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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user