mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Since we're polishing advancemap, let's also make it so the Pause menu Gametype switch doesn't set up the Voting screen if it's anything other than advancemap vote
This commit is contained in:
parent
527492610a
commit
5c6ecc7367
1 changed files with 8 additions and 1 deletions
|
|
@ -336,7 +336,14 @@ void M_HandlePauseMenuGametype(INT32 choice)
|
|||
M_ClearMenus(true);
|
||||
if (server || IsPlayerAdmin(consoleplayer))
|
||||
{
|
||||
D_SetupVote(menugametype);
|
||||
if (cv_advancemap.value == 3) // Voting screen.
|
||||
{
|
||||
D_SetupVote(menugametype);
|
||||
}
|
||||
else // ideally for "random" only, but no sane fallback for "same" and "next"
|
||||
{
|
||||
COM_ImmedExecute(va("randommap -gt %s", gametypes[menugametype]->name));
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue