mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
Fix GUEST tempmute message never appearing
This commit is contained in:
parent
1d2ec19c6e
commit
4ae71662e0
2 changed files with 1 additions and 3 deletions
|
|
@ -3938,7 +3938,7 @@ static void Got_ServerTempMutePlayer(const UINT8 **p, INT32 playernum)
|
||||||
players[forplayer].pflags2 |= PF2_SERVERTEMPMUTE;
|
players[forplayer].pflags2 |= PF2_SERVERTEMPMUTE;
|
||||||
if (P_IsMachineLocalPlayer(&players[forplayer]))
|
if (P_IsMachineLocalPlayer(&players[forplayer]))
|
||||||
{
|
{
|
||||||
if (IsPlayerGuest(playernum))
|
if (IsPlayerGuest(forplayer))
|
||||||
HU_AddChatText(va("\x82* GUESTs cannot use chat on this server. Create a profile to join in!"), false);
|
HU_AddChatText(va("\x82* GUESTs cannot use chat on this server. Create a profile to join in!"), false);
|
||||||
else
|
else
|
||||||
HU_AddChatText(va("\x82* You are temporarily muted until you finish more rounds."), false);
|
HU_AddChatText(va("\x82* You are temporarily muted until you finish more rounds."), false);
|
||||||
|
|
|
||||||
|
|
@ -342,8 +342,6 @@ void SV_UpdateTempMutes(void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
serverplayer_t *stat = SV_GetStatsByPlayerIndex(i);
|
serverplayer_t *stat = SV_GetStatsByPlayerIndex(i);
|
||||||
|
|
||||||
if (i == serverplayer || IsPlayerAdmin(i))
|
if (i == serverplayer || IsPlayerAdmin(i))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue