mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-05 15:43:08 +00:00
Only call P_CheckSurvivors() in tag gametypes
This commit is contained in:
parent
eca4bc63da
commit
38e048466f
1 changed files with 1 additions and 1 deletions
|
|
@ -600,7 +600,7 @@ void P_Ticker(boolean run)
|
||||||
{
|
{
|
||||||
players[i].quittime++;
|
players[i].quittime++;
|
||||||
|
|
||||||
if (players[i].quittime == 30 * TICRATE)
|
if (players[i].quittime == 30 * TICRATE && G_TagGametype())
|
||||||
P_CheckSurvivors();
|
P_CheckSurvivors();
|
||||||
|
|
||||||
if (server && players[i].quittime >= (tic_t)FixedMul(cv_rejointimeout.value, 60 * TICRATE)
|
if (server && players[i].quittime >= (tic_t)FixedMul(cv_rejointimeout.value, 60 * TICRATE)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue