fix: EOM endo rewards showing as doubled in the client
All checks were successful
Build / build (pull_request) Successful in 44s
Build / build (push) Successful in 1m39s

This commit is contained in:
Sainan 2025-04-20 17:16:52 +02:00
parent 11f2ffe64d
commit bc8fbd5f13
2 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
MissionRewards,
...credits,
...inventoryUpdates,
FusionPoints: inventoryChanges?.FusionPoints,
//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.
SyndicateXPItemReward,
AffiliationMods
});

View File

@ -39,6 +39,7 @@ export type IInventoryChanges = {
RegularCredits?: number;
PremiumCredits?: number;
PremiumCreditsFree?: number;
FusionPoints?: number;
PrimeTokens?: number;
InfestedFoundry?: IInfestedFoundryClient;
Drones?: IDroneClient[];