From b96e976a5e1e797535419d274faeaf488474005c Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 5 Jan 2025 05:58:02 +0100 Subject: [PATCH] handle "override warframe" --- src/controllers/api/infestedFoundryController.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/controllers/api/infestedFoundryController.ts b/src/controllers/api/infestedFoundryController.ts index c560a9f4..bcb741cd 100644 --- a/src/controllers/api/infestedFoundryController.ts +++ b/src/controllers/api/infestedFoundryController.ts @@ -115,6 +115,9 @@ export const infestedFoundryController: RequestHandler = async (req, res) => { inventory.InfestedFoundry ??= {}; inventory.InfestedFoundry.InvigorationIndex = request.OfferingsIndex; inventory.InfestedFoundry.InvigorationSuitOfferings = request.SuitTypes; + if (request.Extra) { + inventory.InfestedFoundry.InvigorationsApplied = 0; + } await inventory.save(); res.json({ InventoryChanges: {