返回提交历史
Modified
src/services/purchaseService.ts
+2
-2
XFEstudio/XFESpaceNinjaServer
fix: multiply standing cost by purchase quantity (#1948)
Closes #1945 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1948 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
ec9dc2aa
代码差异
1 个文件
+2
-2
@@ -223,10 +223,10 @@ export const handlePurchase = async (
223
223
purchaseResponse.Standing = [
224
224
{
225
225
Tag: syndicateTag,
226
Standing: favour.standingCost
226
Standing: favour.standingCost * purchaseRequest.PurchaseParams.Quantity
227
227
}
228
228
];
229
affiliation.Standing -= favour.standingCost;
229
affiliation.Standing -= favour.standingCost * purchaseRequest.PurchaseParams.Quantity;
230
230
}
231
231
}
232
232
}