mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-20 06:53:00 +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,10 +7216,17 @@ void NumLaps_OnChange(void)
|
||||||
CONS_Printf(M_GetText("Number of laps have been set to %d.\n"), numlaps);
|
CONS_Printf(M_GetText("Number of laps have been set to %d.\n"), numlaps);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (Playing())
|
||||||
|
{
|
||||||
|
if (cv_numlaps.value == -1)
|
||||||
|
{
|
||||||
|
CONS_Printf(M_GetText("Number of laps will be the map default next round.\n"));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
CONS_Printf(M_GetText("Number of laps will be set to %d next round.\n"), cv_numlaps.value);
|
CONS_Printf(M_GetText("Number of laps will be set to %d next round.\n"), cv_numlaps.value);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void KartFrantic_OnChange(void);
|
void KartFrantic_OnChange(void);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue