Only call P_CheckSurvivors() in tag gametypes

This commit is contained in:
Louis-Antoine 2020-01-28 14:02:36 +01:00
parent ef53672deb
commit 31ce076411
1 changed files with 1 additions and 1 deletions

View File

@ -600,7 +600,7 @@ void P_Ticker(boolean run)
{
players[i].quittime++;
if (players[i].quittime == 30 * TICRATE)
if (players[i].quittime == 30 * TICRATE && G_TagGametype())
P_CheckSurvivors();
if (server && players[i].quittime >= (tic_t)FixedMul(cv_rejointimeout.value, 60 * TICRATE)