Merge branch 'close-console-timeattack' into 'master'

No release build console softlock when starting time attack (resolves #1281)

Closes #1281

See merge request KartKrew/Kart!2290
This commit is contained in:
toaster 2024-04-14 22:21:10 +00:00
commit 24a49c2b78

View file

@ -21,6 +21,7 @@
#include "../s_sound.h" // S_StartSound
#include "../z_zone.h" // Z_StrDup/Z_Free
#include "../m_cond.h"
#include "../console.h" // CON_ToggleOff
struct timeattackmenu_s timeattackmenu;
@ -616,6 +617,9 @@ void M_StartTimeAttack(INT32 choice)
modeprefix = "spb-";
}
// DON'T SOFTLOCK
CON_ToggleOff();
// Still need to reset devmode
cht_debug = 0;