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

Fix #13465: Creating a scenario based on a won save game results in a scenario that’s instantly won

This commit is contained in:
ocalhoun6
2021-08-04 04:31:53 -07:00
committed by GitHub
parent 2beed229a9
commit 8a09406b64
3 changed files with 6 additions and 0 deletions

View File

@@ -134,6 +134,10 @@ namespace Editor
climate_reset(gClimate);
// Clear the scenario completion status
gParkFlags &= ~PARK_FLAGS_SCENARIO_COMPLETE_NAME_INPUT;
gScenarioCompletedCompanyValue = MONEY64_UNDEFINED;
gScreenFlags = SCREEN_FLAGS_SCENARIO_EDITOR;
gEditorStep = EditorStep::ObjectiveSelection;
gScenarioCategory = SCENARIO_CATEGORY_OTHER;