fix(webui): use excludeFromCodex to detect arcane imposters
All checks were successful
Build / build (pull_request) Successful in 1m15s

This commit is contained in:
Sainan 2025-09-08 07:36:10 +02:00
parent 1066b4a983
commit 33a133c78c

View File

@ -313,7 +313,7 @@ const getItemListsController: RequestHandler = (req, response) => {
uniqueName, uniqueName,
name: getString(arcane.name, lang) name: getString(arcane.name, lang)
}; };
if (arcane.isFrivolous) { if (arcane.excludeFromCodex) {
mod.badReason = "frivolous"; mod.badReason = "frivolous";
} }
res.mods.push(mod); res.mods.push(mod);