返回提交历史
Modified
src/controllers/api/creditsController.ts
+1
-1
Modified
src/controllers/api/inventoryController.ts
+1
-1
XFEstudio/XFESpaceNinjaServer
fix: can't rush dojo components with infinitePlatinum (#1138)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1138
1ae1cf51
代码差异
2 个文件
+2
-2
@@ -19,7 +19,7 @@ export const creditsController: RequestHandler = async (req, res) => {
19
19
response.RegularCredits = 999999999;
20
20
}
21
21
if (config.infinitePlatinum) {
22
response.PremiumCreditsFree = 999999999;
22
response.PremiumCreditsFree = 0;
23
23
response.PremiumCredits = 999999999;
24
24
}
25
25
@@ -70,7 +70,7 @@ export const getInventoryResponse = async (
70
70
inventoryResponse.RegularCredits = 999999999;
71
71
}
72
72
if (config.infinitePlatinum) {
73
inventoryResponse.PremiumCreditsFree = 999999999;
73
inventoryResponse.PremiumCreditsFree = 0;
74
74
inventoryResponse.PremiumCredits = 999999999;
75
75
}
76
76
if (config.infiniteEndo) {