]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - taskqueue.c
cvars are now instanced in &cvars_all as a tracking mechanism, there is also &cvars_n...
[xonotic/darkplaces.git] / taskqueue.c
index 084102c5a5a5060097d950c0f97ce914df601e61..b826100da662b07d2c13e870b8144edf16f781b1 100644 (file)
@@ -1,7 +1,7 @@
 #include "quakedef.h"\r
 #include "taskqueue.h"\r
 \r
-cvar_t taskqueue_maxthreads = { CVAR_SAVE, "taskqueue_maxthreads", "32", "how many threads to use for executing tasks" };\r
+cvar_t taskqueue_maxthreads = {CVAR_CLIENT | CVAR_SERVER | CVAR_SAVE, "taskqueue_maxthreads", "32", "how many threads to use for executing tasks"};\r
 \r
 typedef struct taskqueue_state_thread_s\r
 {\r