summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/cl_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_ui.c b/src/client/cl_ui.c
index 6f631874..049260d2 100644
--- a/src/client/cl_ui.c
+++ b/src/client/cl_ui.c
@@ -743,7 +743,7 @@ intptr_t CL_UISystemCalls( intptr_t *args ) {
return 0;
case UI_CVAR_CREATE:
- Cvar_Get( VMA(1), VMA(2), args[3] );
+ Cvar_Register( NULL, VMA(1), VMA(2), args[3] );
return 0;
case UI_CVAR_INFOSTRINGBUFFER: