Fix "You must specify an IP address" message returning to title instead of MP menu

This commit is contained in:
James R 2019-10-19 13:01:06 -07:00
parent dfdbc0afe3
commit 4a15e2d1d8

View file

@ -9905,6 +9905,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.
@ -9936,7 +9938,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;