XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

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
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

2 个文件 +2 -1
Modified src/controllers/api/missionInventoryUpdateController.ts +1 -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 });
Modified src/types/purchaseTypes.ts +1 -0
@@ -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[];