From bbccee0637a1f3930b71b4232e4f70ca0b569f26 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Thu, 26 Jun 2025 19:40:06 -0700 Subject: [PATCH] fix: ignore purchaseQuantity for login reward items (#2321) cryotic amount should not be multiplied by 3000... Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2321 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/services/loginRewardService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/loginRewardService.ts b/src/services/loginRewardService.ts index c8a213ea..49a6501a 100644 --- a/src/services/loginRewardService.ts +++ b/src/services/loginRewardService.ts @@ -144,7 +144,8 @@ export const claimLoginReward = async ( case "RT_STORE_ITEM": case "RT_RECIPE": case "RT_RANDOM_RECIPE": - return (await handleStoreItemAcquisition(reward.StoreItemType, inventory, reward.Amount)).InventoryChanges; + return (await handleStoreItemAcquisition(reward.StoreItemType, inventory, reward.Amount, undefined, true)) + .InventoryChanges; case "RT_CREDITS": return updateCurrency(inventory, -reward.Amount, false);