summaryrefslogtreecommitdiff
path: root/src/client/cl_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_ui.c')
-rw-r--r--src/client/cl_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_ui.c b/src/client/cl_ui.c
index 6b748cf7..edf5ef35 100644
--- a/src/client/cl_ui.c
+++ b/src/client/cl_ui.c
@@ -724,7 +724,7 @@ intptr_t CL_UISystemCalls( intptr_t *args ) {
return 0;
case UI_CVAR_SET:
- Cvar_Set( VMA(1), VMA(2) );
+ Cvar_SetSafe( VMA(1), VMA(2) );
return 0;
case UI_CVAR_VARIABLEVALUE:
@@ -735,7 +735,7 @@ intptr_t CL_UISystemCalls( intptr_t *args ) {
return 0;
case UI_CVAR_SETVALUE:
- Cvar_SetValue( VMA(1), VMF(2) );
+ Cvar_SetValueSafe( VMA(1), VMF(2) );
return 0;
case UI_CVAR_RESET: