mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Don't show gametype was changed message if the same gametype
This commit is contained in:
parent
be9f4327c6
commit
5df44e4c70
1 changed files with 2 additions and 2 deletions
|
|
@ -2721,7 +2721,7 @@ static void Got_Mapcmd(UINT8 **cp, INT32 playernum)
|
||||||
SendKick(playernum, KICK_MSG_CON_FAIL);
|
SendKick(playernum, KICK_MSG_CON_FAIL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
roundqueue.position = position;
|
roundqueue.position = position;
|
||||||
if (size < roundqueue.size)
|
if (size < roundqueue.size)
|
||||||
{
|
{
|
||||||
|
|
@ -4997,7 +4997,7 @@ void D_GameTypeChanged(INT32 lastgametype)
|
||||||
if (gametype >= 0 && gametype < numgametypes)
|
if (gametype >= 0 && gametype < numgametypes)
|
||||||
newgt = gametypes[gametype]->name;
|
newgt = gametypes[gametype]->name;
|
||||||
|
|
||||||
if (oldgt && newgt)
|
if (oldgt && newgt && (lastgametype != gametype))
|
||||||
CONS_Printf(M_GetText("Gametype was changed from %s to %s\n"), oldgt, newgt);
|
CONS_Printf(M_GetText("Gametype was changed from %s to %s\n"), oldgt, newgt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue