]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
disable idle timer in battle royale
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Tue, 23 May 2023 11:33:14 +0000 (13:33 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Tue, 23 May 2023 11:33:14 +0000 (13:33 +0200)
qcsrc/server/client.qc

index 358b3de4dfa14ca16ef26daed03d8b91d44da3cc..645017726ceaf64ba91098590344455302e55ddf 100644 (file)
@@ -2688,7 +2688,7 @@ void PlayerPostThink (entity this)
                        });
                }
 
-               if (totalClients < autocvar_sv_maxidle_minplayers)
+               if ((totalClients < autocvar_sv_maxidle_minplayers) || IS_GAMETYPE(BR))
                {
                        // idle kick disabled
                        CS(this).parm_idlesince = time;