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 88b6e9e1bd
commit 68da56671e

View file

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