mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-19 22:42:46 +00:00
The author of this commit hates the print in NumLaps_OnChange so much
- Don't print outside of Playing()
- Fixes the one cvar set message when playing back any Staff Replay
- Have a bespoke map default print for outside-of-level changes
This commit is contained in:
parent
b8c67dcc9e
commit
2c5f0de69c
1 changed files with 9 additions and 2 deletions
|
|
@ -7216,9 +7216,16 @@ void NumLaps_OnChange(void)
|
|||
CONS_Printf(M_GetText("Number of laps have been set to %d.\n"), numlaps);
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (Playing())
|
||||
{
|
||||
CONS_Printf(M_GetText("Number of laps will be set to %d next round.\n"), cv_numlaps.value);
|
||||
if (cv_numlaps.value == -1)
|
||||
{
|
||||
CONS_Printf(M_GetText("Number of laps will be the map default next round.\n"));
|
||||
}
|
||||
else
|
||||
{
|
||||
CONS_Printf(M_GetText("Number of laps will be set to %d next round.\n"), cv_numlaps.value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue