use ExportFactions in Gradivus Dilema trophy instead eFaction
Some checks failed
Build / build (pull_request) Failing after 1m9s
Some checks failed
Build / build (pull_request) Failing after 1m9s
This commit is contained in:
parent
12505faffe
commit
f5dd56b49b
@ -10,6 +10,7 @@ import {
|
||||
ExportCustoms,
|
||||
ExportDojoRecipes,
|
||||
ExportDrones,
|
||||
ExportFactions,
|
||||
ExportGear,
|
||||
ExportKeys,
|
||||
ExportMisc,
|
||||
@ -424,7 +425,7 @@ const getItemListsController: RequestHandler = (req, response) => {
|
||||
let name = getString(getItemName(uniqueName) || uniqueName, lang);
|
||||
if (uniqueName.startsWith("/Lotus/Levels/ClanDojo/ComponentPropRecipes/GradivusDilemma")) {
|
||||
const factionTag = uniqueName.includes("Corpus") ? "FC_CORPUS" : "FC_GRINEER";
|
||||
const faction = eFaction.find(f => f.tag === factionTag)?.name || factionTag;
|
||||
const faction = ExportFactions[factionTag].name;
|
||||
name += ` [${getString(faction, lang)}]`;
|
||||
}
|
||||
res.VaultDecoRecipes.push({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user