mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'allow-promoted-admin-gametypes' into 'master'
Allow promoted admins to trigger vote screen (gametype change) See merge request KartKrew/Kart!2282
This commit is contained in:
commit
171df9e2fa
1 changed files with 1 additions and 1 deletions
|
|
@ -5713,7 +5713,7 @@ static void Got_SetupVotecmd(const UINT8 **cp, INT32 playernum)
|
|||
INT16 tempVoteLevels[VOTE_NUM_LEVELS][2];
|
||||
INT32 i;
|
||||
|
||||
if (playernum != serverplayer) // admin shouldn't be able to set up vote...
|
||||
if (playernum != serverplayer && !IsPlayerAdmin(playernum)) // admin shouldn't be able to set up vote...
|
||||
{
|
||||
CONS_Alert(CONS_WARNING, M_GetText("Illegal vote setup received from %s\n"), player_names[playernum]);
|
||||
if (server)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue