返回提交历史
Modified
src/controllers/api/missionInventoryUpdateController.ts
+1
-1
Modified
src/types/purchaseTypes.ts
+1
-0
XFEstudio/XFESpaceNinjaServer
fix: EOM endo rewards showing as doubled in the client (#1756)
Closes #1754 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1756 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
98aebba6
代码差异
2 个文件
+2
-1
@@ -84,7 +84,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
84
84
MissionRewards,
85
85
...credits,
86
86
...inventoryUpdates,
87
FusionPoints: inventoryChanges?.FusionPoints,
87
//FusionPoints: inventoryChanges?.FusionPoints, // This in combination with InventoryJson or InventoryChanges seems to just double the number of endo shown, so unsure when this is needed.
88
88
SyndicateXPItemReward,
89
89
AffiliationMods
90
90
});
@@ -39,6 +39,7 @@ export type IInventoryChanges = {
39
39
RegularCredits?: number;
40
40
PremiumCredits?: number;
41
41
PremiumCreditsFree?: number;
42
FusionPoints?: number;
42
43
PrimeTokens?: number;
43
44
InfestedFoundry?: IInfestedFoundryClient;
44
45
Drones?: IDroneClient[];