]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make sure new default value of sv_maxidle_playertospectator takes effect immediately
authorterencehill <piuntn@gmail.com>
Tue, 11 May 2021 13:53:26 +0000 (15:53 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 11 May 2021 13:53:26 +0000 (15:53 +0200)
qcsrc/server/client.qh

index 1197ee3610fb44f1cb243c44aa03937940e14083..31d65f948608c1ba8e394b11970f73bd3c4f1412 100644 (file)
@@ -33,7 +33,7 @@ bool autocvar_g_nodepthtestplayers;
 string autocvar_g_mutatormsg;
 float autocvar_sv_foginterval;
 float autocvar_sv_maxidle;
-float autocvar_sv_maxidle_playertospectator;
+float autocvar_sv_maxidle_playertospectator = 60;
 bool autocvar_sv_maxidle_alsokickspectators;
 int autocvar_sv_maxidle_slots;
 bool autocvar_sv_maxidle_slots_countbots;