mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 16:52:16 +00:00
Allow host to skip gamestochat, not just admins (??????????????)
This commit is contained in:
parent
08ffc79b5c
commit
28bba54905
1 changed files with 1 additions and 1 deletions
|
|
@ -4992,7 +4992,7 @@ static void PT_Say(int node)
|
|||
|
||||
serverplayer_t *stats = SV_GetStatsByPlayerIndex(say.source);
|
||||
|
||||
if (stats->finishedrounds < (uint32_t)cv_gamestochat.value && !(IsPlayerAdmin(say.source)))
|
||||
if (stats->finishedrounds < (uint32_t)cv_gamestochat.value && !(consoleplayer == say.source || IsPlayerAdmin(say.source)))
|
||||
{
|
||||
CONS_Debug(DBG_NETPLAY,"Received SAY cmd from Player %d (%s), but they aren't permitted to chat yet.\n", say.source+1, player_names[say.source]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue