summaryrefslogtreecommitdiff
path: root/src/cgame/cg_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_event.c')
-rw-r--r--src/cgame/cg_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_event.c b/src/cgame/cg_event.c
index dafcfde6..f0b747b0 100644
--- a/src/cgame/cg_event.c
+++ b/src/cgame/cg_event.c
@@ -538,7 +538,7 @@ void CG_Menu( int eventParm )
case MN_A_INFEST:
trap_Cvar_Set( "ui_currentClass", va( "%d %d", cg.snap->ps.stats[ STAT_PCLASS ],
- cg.snap->ps.stats[ STAT_CREDIT ] ) );
+ cg.snap->ps.persistant[ PERS_CREDIT ] ) );
trap_SendConsoleCommand( "menu tremulous_alienupgrade\n" );
break;