From c0b0a1b71afdd76b7e017b9d6a54ba7289d64b3a Mon Sep 17 00:00:00 2001 From: VampireKitten Date: Sat, 22 Jun 2024 00:55:41 +0200 Subject: [PATCH] Updated to ensure things work --- src/controllers/api/inventoryController.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index 03383df8..cfbecf32 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -42,6 +42,11 @@ const inventoryController: RequestHandler = async (request, response) => { inventoryResponse.PremiumCredits = 999999999; } + if (config.infinitePlatinum) { + inventoryResponse.PremiumCreditsFree = 999999999; + inventoryResponse.PremiumCredits = 999999999; + } + if (config.unlockAllMissions) { inventoryResponse.Missions = allMissions; inventoryResponse.NodeIntrosCompleted.push("TeshinHardModeUnlocked");