Make it so hitting enter on the ipv4 option doesn't close all menus with the warning, only if you start trying to connect.

This commit is contained in:
toaster 2018-10-27 20:44:18 +01:00
parent 88b13212d9
commit 558ca6cfec

View file

@ -7819,6 +7819,8 @@ static void M_ConnectIP(INT32 choice)
return; return;
} }
M_ClearMenus(true);
COM_BufAddText(va("connect \"%s\"\n", setupm_ip)); COM_BufAddText(va("connect \"%s\"\n", setupm_ip));
// A little "please wait" message. // A little "please wait" message.
@ -7850,7 +7852,6 @@ static void M_HandleConnectIP(INT32 choice)
case KEY_ENTER: case KEY_ENTER:
S_StartSound(NULL,sfx_menu1); // Tails S_StartSound(NULL,sfx_menu1); // Tails
M_ClearMenus(true);
M_ConnectIP(1); M_ConnectIP(1);
break; break;