summaryrefslogtreecommitdiff
path: root/source/sv_ac.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/sv_ac.c')
-rw-r--r--source/sv_ac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sv_ac.c b/source/sv_ac.c
index fae15df..e550238 100644
--- a/source/sv_ac.c
+++ b/source/sv_ac.c
@@ -1334,7 +1334,7 @@ void AC_Connect( qboolean ismvd ) {
return;
}
-#ifndef DEDICATED_ONLY
+#if USE_CLIENT
if( !dedicated->integer ) {
Com_Printf( "ANTICHEAT: Only supported on dedicated servers, disabling.\n" );
Cvar_SetByVar( ac_required, "0", CVAR_SET_DIRECT );