Skip to content

Commit 310f2e2

Browse files
committed
Fix changing automap color CVAR not effective immediately
1 parent ef05898 commit 310f2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/c_cmds.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -8371,7 +8371,7 @@ static void color_cvars_func2(char *cmd, char *parms)
83718371
{
83728372
int_cvars_func2(cmd, parms);
83738373

8374-
if (*parms && M_StringStartsWith(parms, "am_"))
8374+
if (M_StringStartsWith(cmd, "am_"))
83758375
AM_SetColors();
83768376
}
83778377

0 commit comments

Comments
 (0)