mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
P_Ticker: Do not run antigrief detection if there are no waypoints
This commit is contained in:
parent
ee3bf6d117
commit
3d9d9ba1e6
1 changed files with 1 additions and 1 deletions
|
|
@ -805,7 +805,7 @@ void P_Ticker(boolean run)
|
|||
|
||||
if ((netgame) // Antigrief is supposed to apply?
|
||||
&& !(K_Cooperative() || timelimitintics > 0 || g_pointlimit > 0) // There are rules that will punish a griefing player
|
||||
&& (gametyperules & GTR_CIRCUIT) && (leveltime > starttime)) // The following only detects race griefing
|
||||
&& (gametyperules & GTR_CIRCUIT) && (leveltime > starttime) && K_GetNumWaypoints()) // The following only detects race griefing
|
||||
{
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue