fix: ignore purchaseQuantity for login reward items
All checks were successful
Build / build (pull_request) Successful in 53s
All checks were successful
Build / build (pull_request) Successful in 53s
cryotic amount should not be multiplied by 3000...
This commit is contained in:
parent
4f1f9592b0
commit
d2fc887678
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user