mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-02 14:42:41 +00:00
Warning if uiScript replace receives an unknown category.
This commit is contained in:
parent
eaacfaa7ee
commit
00b269f3a7
1 changed files with 2 additions and 0 deletions
|
@ -6405,6 +6405,8 @@ static void UI_RunMenuScript(char **args)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (i == replacementTypeCount)
|
||||||
|
Com_Printf(S_COLOR_YELLOW "WARNING: unrecognized replacement category, '%s'.\n", name2);
|
||||||
}
|
}
|
||||||
} else if (Q_stricmp(name, "update") == 0) {
|
} else if (Q_stricmp(name, "update") == 0) {
|
||||||
if (String_Parse(args, &name2)) {
|
if (String_Parse(args, &name2)) {
|
||||||
|
|
Loading…
Reference in a new issue