From 87dfa790cb135bd847460681241eabf9fe2a66cc Mon Sep 17 00:00:00 2001 From: SinnamonLat Date: Sun, 20 Feb 2022 09:50:18 +0100 Subject: [PATCH] Fix stupid potential softlock on control setup with device detection --- src/k_menufunc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/k_menufunc.c b/src/k_menufunc.c index 45f762a31..4f0a2ec64 100644 --- a/src/k_menufunc.c +++ b/src/k_menufunc.c @@ -3881,7 +3881,6 @@ static void SetDeviceOnPress(void) { CV_SetValue(&cv_usejoystick[0], i); // Force-set this joystick as the current joystick we're using for P1 (which is the only one controlling menus) CONS_Printf("Using device %d for mappings\n", i); - M_SetupNextMenu(&OPTIONS_ProfileControlsDef, false); // with that set, send us to the control def return; } }