diff --git a/src/pc/djui/djui_panel_host.c b/src/pc/djui/djui_panel_host.c index 0bd65008..aaafa318 100644 --- a/src/pc/djui/djui_panel_host.c +++ b/src/pc/djui/djui_panel_host.c @@ -84,12 +84,6 @@ static void djui_panel_host_do_host(struct DjuiBase* caller) { if (gNetworkType == NT_SERVER) { network_rehost_begin(); } else if (configNetworkSystem == NS_COOPNET || configAmountofPlayers == 1) { -#ifdef COOPNET - if (sInputboxPassword->buffer[0] == '\0' && configRulesVersion != RULES_VERSION && configAmountofPlayers > 1) { - djui_panel_rules_create(caller); - return; - } -#endif network_reset_reconnect_and_rehost(); djui_panel_do_host(false, true); } else { diff --git a/src/pc/djui/djui_panel_rules.c b/src/pc/djui/djui_panel_rules.c index dab0998a..17e6e569 100644 --- a/src/pc/djui/djui_panel_rules.c +++ b/src/pc/djui/djui_panel_rules.c @@ -9,7 +9,6 @@ static char sRules[512]; static void djui_panel_rules_deny(struct DjuiBase* caller) { - configRulesVersion = 0; djui_panel_menu_back(caller); } @@ -57,7 +56,7 @@ DLANG(RULES, RULE_5)); struct DjuiRect* rect = djui_rect_container_create(body, 64); { - djui_button_left_create(&rect->base, DLANG(MENU, NO), DJUI_BUTTON_STYLE_BACK, djui_panel_rules_deny); + djui_button_left_create(&rect->base, DLANG(MENU, BACK), DJUI_BUTTON_STYLE_BACK, djui_panel_rules_deny); djui_button_right_create(&rect->base, DLANG(MENU, YES), DJUI_BUTTON_STYLE_NORMAL, djui_panel_rules_accept); } } else {