Fix the "player has finished the race" message being printed to log twice

This commit is contained in:
SteelT 2023-03-03 13:23:08 -05:00 committed by James R
parent 1cbc4944ba
commit 386e32891f

View file

@ -1973,7 +1973,7 @@ static void K_HandleLapIncrement(player_t *player)
rainbowstartavailable = false;
}
if (netgame && player->laps >= numlaps)
if (netgame && player->laps > numlaps)
CON_LogMessage(va(M_GetText("%s has finished the race.\n"), player_names[player-players]));
player->starpostnum = 0;