mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Disable "Reconnect" if not desynced.
This commit is contained in:
committed by
Aaron van Geffen
parent
7e6bed39d4
commit
4a34d2a6da
@@ -3427,6 +3427,8 @@ static void top_toolbar_init_network_menu(rct_window* w, rct_widget* widget)
|
||||
w->x + widget->left, w->y + widget->top, widget->bottom - widget->top + 1, w->colours[0] | 0x80, 0,
|
||||
TOP_TOOLBAR_NETWORK_COUNT);
|
||||
|
||||
dropdown_set_disabled(DDIDX_MULTIPLAYER_RECONNECT, !network_is_desynchronised());
|
||||
|
||||
gDropdownDefaultIndex = DDIDX_MULTIPLAYER;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user