aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/client/cl_ui.c')
-rw-r--r--code/client/cl_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c
index 9345647..572e14a 100644
--- a/code/client/cl_ui.c
+++ b/code/client/cl_ui.c
@@ -1173,7 +1173,7 @@ void CL_InitUI( void ) {
}
// reset any CVAR_CHEAT cvars registered by ui
- if ( !cl_connectedToCheatServer )
+ if ( !clc.demoplaying && !cl_connectedToCheatServer )
Cvar_SetCheatState();
}