mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Check map command for rulechange
This commit is contained in:
parent
2940b45a22
commit
0e515f8688
1 changed files with 1 additions and 4 deletions
|
|
@ -2529,7 +2529,7 @@ static void Command_Map_f(void)
|
||||||
newforcespecialstage = COM_CheckParm("-forcespecialstage");
|
newforcespecialstage = COM_CheckParm("-forcespecialstage");
|
||||||
|
|
||||||
usingcheats = CV_CheatsEnabled();
|
usingcheats = CV_CheatsEnabled();
|
||||||
ischeating = (!(netgame || multiplayer)) || (!newresetplayers);
|
ischeating = (!(netgame || multiplayer)) || (!newresetplayers) || (!K_CanChangeRules(false));
|
||||||
|
|
||||||
if (!( first_option = COM_FirstOption() ))
|
if (!( first_option = COM_FirstOption() ))
|
||||||
first_option = COM_Argc();
|
first_option = COM_Argc();
|
||||||
|
|
@ -2635,9 +2635,6 @@ static void Command_Map_f(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (grandprixinfo.gp)
|
|
||||||
ischeating = true;
|
|
||||||
|
|
||||||
if (ischeating && !usingcheats)
|
if (ischeating && !usingcheats)
|
||||||
{
|
{
|
||||||
CONS_Printf(M_GetText("Cheats must be enabled.\n"));
|
CONS_Printf(M_GetText("Cheats must be enabled.\n"));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue