mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 22:34:33 +01:00
Refactor game load functions, resolves #6011
This commit is contained in:
committed by
Michael Steenbeek
parent
9aeca18026
commit
71e580a58f
@@ -134,9 +134,7 @@ rct_window * window_title_menu_open()
|
||||
|
||||
static void window_title_menu_scenarioselect_callback(const utf8 *path)
|
||||
{
|
||||
ParkLoadResult * result = scenario_load_and_play_from_path(path);
|
||||
handle_park_load_failure(result, path);
|
||||
ParkLoadResult_Delete(result);
|
||||
context_load_park_from_file(path);
|
||||
}
|
||||
|
||||
static void window_title_menu_mouseup(rct_window *w, rct_widgetindex widgetIndex)
|
||||
|
||||
Reference in New Issue
Block a user