mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-double-race-print' into 'master'
Fix the "player has finished the race" message being printed to log twice See merge request KartKrew/Kart!1012
This commit is contained in:
commit
9f46c705f0
1 changed files with 1 additions and 1 deletions
|
|
@ -1973,7 +1973,7 @@ static void K_HandleLapIncrement(player_t *player)
|
||||||
rainbowstartavailable = false;
|
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]));
|
CON_LogMessage(va(M_GetText("%s has finished the race.\n"), player_names[player-players]));
|
||||||
|
|
||||||
player->starpostnum = 0;
|
player->starpostnum = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue