mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Move loadsave dialog
This commit is contained in:
@@ -224,8 +224,10 @@ static void window_server_start_mouseup(rct_window *w, rct_widgetindex widgetInd
|
||||
break;
|
||||
case WIDX_LOAD_SERVER:
|
||||
network_set_password(_password);
|
||||
window_loadsave_open(LOADSAVETYPE_LOAD | LOADSAVETYPE_GAME, nullptr);
|
||||
window_loadsave_set_loadsave_callback(window_server_start_loadsave_callback);
|
||||
auto intent = Intent(WC_LOADSAVE);
|
||||
intent.putExtra(INTENT_EXTRA_4, LOADSAVETYPE_LOAD | LOADSAVETYPE_GAME);
|
||||
intent.putExtra(INTENT_EXTRA_6, (void *) window_server_start_loadsave_callback);
|
||||
context_open_intent(&intent);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user