mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-17 02:01:15 +00:00
Maybe message fix
This commit is contained in:
parent
69d6d43fea
commit
b127c02e2c
1 changed files with 8 additions and 5 deletions
|
@ -3236,7 +3236,7 @@ void K_CheckBalloons(void)
|
|||
UINT8 numingame = 0;
|
||||
INT8 winnernum = -1;
|
||||
|
||||
if (gamestate == GS_INTERMISSION)
|
||||
if (gamestate != GS_LEVEL)
|
||||
return;
|
||||
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
|
@ -3256,8 +3256,11 @@ void K_CheckBalloons(void)
|
|||
if (numingame <= 1)
|
||||
return;
|
||||
|
||||
if (playeringame[winnernum])
|
||||
{
|
||||
P_AddPlayerScore(&players[winnernum], numingame);
|
||||
CONS_Printf(M_GetText("%s recieved %d points for surviving!\n"), player_names[winnernum], numingame); // numingame/2 == 1 ? "" : "s"
|
||||
}
|
||||
|
||||
if (server)
|
||||
SendNetXCmd(XD_EXITLEVEL, NULL, 0);
|
||||
|
|
Loading…
Reference in a new issue