Add generic text attribute to credit json parser

This commit is contained in:
ShadowOfHassen 2026-08-08 21:52:52 -04:00
parent f90804c78f
commit a28dfac1c4

View file

@ -8,6 +8,7 @@ var g_OrderTabNames = [
"audio",
"maps",
"history",
"encylopedia",
"balancing",
"community",
"translators",
@ -94,7 +95,8 @@ function parseHelper(list)
credit = element.nick;
else if (element.name)
credit = element.name;
else if (element.text)
credit = element.text;
if (credit)
result += setStringTags(credit + "\n", { "font": "sans-14" });
}