Hide the numlaps change message in record attack. (It plays every time you load a demo of a map with a differing quantity of laps to the default value...)

This commit is contained in:
toaster 2018-11-10 12:34:04 +00:00
parent a0badacd22
commit 5b286d89a8

View file

@ -4233,7 +4233,7 @@ static void PointLimit_OnChange(void)
static void NumLaps_OnChange(void) static void NumLaps_OnChange(void)
{ {
// Just don't be verbose // Just don't be verbose
if (G_RaceGametype()) if (G_RaceGametype() && !(modeattacking || demoplayback))
CONS_Printf(M_GetText("Number of laps set to %d\n"), cv_numlaps.value); CONS_Printf(M_GetText("Number of laps set to %d\n"), cv_numlaps.value);
} }