From c84a739039c58a39d49d8a21a8a27e61740d7587 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 14 Mar 2022 16:59:18 +0000 Subject: [PATCH] Fix not being able to escape out of the server connection screen. --- src/d_clisrv.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index a6e43e4a5..427c226d2 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -1889,13 +1889,16 @@ static boolean CL_ServerConnectionTicker(const char *tmpsave, tic_t *oldtic, tic if (*oldtic != I_GetTime()) { I_OsPolling(); -#if 0 - for (; eventtail != eventhead; eventtail = (eventtail+1) & (MAXEVENTS-1)) - G_MapEventsToControls(&events[eventtail]); -#endif if (cl_mode == CL_CONFIRMCONNECT) + { D_ProcessEvents(); //needed for menu system to receive inputs + } + else + { + for (; eventtail != eventhead; eventtail = (eventtail+1) & (MAXEVENTS-1)) + G_MapEventsToControls(&events[eventtail]); + } if ((gamekeydown[KEY_ESCAPE] || gamekeydown[KEY_JOY1+1]) || cl_mode == CL_ABORTED) {