fix(webui): don't give legendary cores with "add missing mods" (#953)

Closes #952

Reviewed-on: OpenWF/SpaceNinjaServer#953
This commit is contained in:
Sainan 2025-02-12 18:14:59 -08:00
parent 7e7e4e2eea
commit edddc80bd8

View File

@ -1023,6 +1023,7 @@ function doAddAllMods() {
for (const child of document.getElementById("datalist-mods").children) { for (const child of document.getElementById("datalist-mods").children) {
modsAll.add(child.getAttribute("data-key")); modsAll.add(child.getAttribute("data-key"));
} }
modsAll.delete("/Lotus/Upgrades/Mods/Fusers/LegendaryModFuser");
revalidateAuthz(() => { revalidateAuthz(() => {
const req = $.get("/api/inventory.php?" + window.authz + "&xpBasedLevelCapDisabled=1"); const req = $.get("/api/inventory.php?" + window.authz + "&xpBasedLevelCapDisabled=1");