From 558ca6cfec44865c20698e547ac5fe1b46d395cf Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 27 Oct 2018 20:44:18 +0100 Subject: [PATCH] Make it so hitting enter on the ipv4 option doesn't close all menus with the warning, only if you start trying to connect. --- src/m_menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/m_menu.c b/src/m_menu.c index 1827bf7ba..4019a9162 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -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;