1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Fix #14111, #14112: Strange behaviour when selecting a new scenario

This commit is contained in:
Michael Steenbeek
2021-02-19 09:37:06 +01:00
committed by GitHub
parent 2379c7c9a6
commit e11304f1df

View File

@@ -336,7 +336,10 @@ static void window_scenarioselect_scrollmousedown(rct_window* w, int32_t scrollI
OpenRCT2::Audio::Play(OpenRCT2::Audio::SoundId::Click1, 0, w->windowPos.x + (w->width / 2));
gFirstTimeSaving = true;
_callback(listItem.scenario.scenario->path);
window_close(w);
if (_titleEditor)
{
window_close(w);
}
}
break;
}