mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add CVar for loser shuffle
This commit is contained in:
parent
83e1dc415a
commit
5dd41db100
3 changed files with 4 additions and 2 deletions
|
|
@ -742,6 +742,8 @@ void LiveStudioAudience_OnChange(void);
|
|||
|
||||
consvar_t cv_maxplayers = NetVar("maxplayers", "8").min_max(1, MAXPLAYERS);
|
||||
|
||||
consvar_t cv_shuffleloser = NetVar("shuffleloser", "On").on_off();
|
||||
|
||||
// Scoring type options
|
||||
consvar_t cv_overtime = UnsavedNetVar("overtime", "Yes").yes_no();
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ extern consvar_t cv_countdowntime;
|
|||
extern consvar_t cv_mute;
|
||||
extern consvar_t cv_pause;
|
||||
|
||||
extern consvar_t cv_restrictskinchange, cv_allowteamchange, cv_maxplayers;
|
||||
extern consvar_t cv_restrictskinchange, cv_allowteamchange, cv_maxplayers, cv_shuffleloser;
|
||||
extern consvar_t cv_spectatorreentry, cv_duelspectatorreentry, cv_antigrief;
|
||||
|
||||
// SRB2kart items
|
||||
|
|
|
|||
|
|
@ -853,7 +853,7 @@ void K_RetireBots(void)
|
|||
|
||||
boolean did_replacement = false;
|
||||
|
||||
if (G_GametypeHasSpectators() == true && grandprixinfo.gp == false) // Should this be put behind a cvar?
|
||||
if (G_GametypeHasSpectators() == true && grandprixinfo.gp == false && cv_shuffleloser.value != 0)
|
||||
{
|
||||
// While joiners and players still exist, insert joiners.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue