mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-10 01:52:33 +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;
|
||||
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);
|
||||
else
|
||||
HU_AddChatText(va("\x82* You are temporarily muted until you finish more rounds."), false);
|
||||
|
|
|
|||
|
|
@ -342,8 +342,6 @@ void SV_UpdateTempMutes(void)
|
|||
continue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
serverplayer_t *stat = SV_GetStatsByPlayerIndex(i);
|
||||
|
||||
if (i == serverplayer || IsPlayerAdmin(i))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue