forked from OpenWF/SpaceNinjaServer
		
	fix: EOM endo rewards showing as doubled in the client (#1756)
Closes #1754 Reviewed-on: OpenWF/SpaceNinjaServer#1756 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									9912a623b1
								
							
						
					
					
						commit
						98aebba677
					
				@ -84,7 +84,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
 | 
				
			|||||||
        MissionRewards,
 | 
					        MissionRewards,
 | 
				
			||||||
        ...credits,
 | 
					        ...credits,
 | 
				
			||||||
        ...inventoryUpdates,
 | 
					        ...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,
 | 
					        SyndicateXPItemReward,
 | 
				
			||||||
        AffiliationMods
 | 
					        AffiliationMods
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
				
			|||||||
@ -39,6 +39,7 @@ export type IInventoryChanges = {
 | 
				
			|||||||
    RegularCredits?: number;
 | 
					    RegularCredits?: number;
 | 
				
			||||||
    PremiumCredits?: number;
 | 
					    PremiumCredits?: number;
 | 
				
			||||||
    PremiumCreditsFree?: number;
 | 
					    PremiumCreditsFree?: number;
 | 
				
			||||||
 | 
					    FusionPoints?: number;
 | 
				
			||||||
    PrimeTokens?: number;
 | 
					    PrimeTokens?: number;
 | 
				
			||||||
    InfestedFoundry?: IInfestedFoundryClient;
 | 
					    InfestedFoundry?: IInfestedFoundryClient;
 | 
				
			||||||
    Drones?: IDroneClient[];
 | 
					    Drones?: IDroneClient[];
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user