From 38a3b852af9fc8b758b823aa994022b3057b5555 Mon Sep 17 00:00:00 2001 From: Richard Allen Date: Wed, 12 Dec 2012 19:29:53 +0000 Subject: [PATCH] IOQ3 commit 2322 --- reaction/code/q3_ui/ui_splevel.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reaction/code/q3_ui/ui_splevel.c b/reaction/code/q3_ui/ui_splevel.c index 17c9456c..e9898665 100644 --- a/reaction/code/q3_ui/ui_splevel.c +++ b/reaction/code/q3_ui/ui_splevel.c @@ -368,7 +368,11 @@ static void UI_SPLevelMenu_ResetAction( qboolean result ) { // clear game variables UI_NewGame(); - trap_Cvar_SetValue( "ui_spSelection", -4 ); + if ( UI_GetSpecialArenaInfo( "training" ) ) { + trap_Cvar_SetValue( "ui_spSelection", -4 ); + } else { + trap_Cvar_SetValue( "ui_spSelection", 0 ); + } // make the level select menu re-initialize UI_PopMenu();