forked from OpenWF/SpaceNinjaServer
		
	fix: save LoreFragmentScans (#974)
Reviewed-on: OpenWF/SpaceNinjaServer#974 Co-authored-by: Sainan <sainan@calamity.inc> Co-committed-by: Sainan <sainan@calamity.inc>
This commit is contained in:
		
							parent
							
								
									fb8d176fbe
								
							
						
					
					
						commit
						b4e780baa3
					
				@ -191,6 +191,11 @@ export const addMissionInventoryUpdates = (
 | 
			
		||||
                });
 | 
			
		||||
                break;
 | 
			
		||||
            }
 | 
			
		||||
            case "LoreFragmentScans":
 | 
			
		||||
                value.forEach(x => {
 | 
			
		||||
                    inventory.LoreFragmentScans.push(x);
 | 
			
		||||
                });
 | 
			
		||||
                break;
 | 
			
		||||
            case "SyndicateId": {
 | 
			
		||||
                inventory.CompletedSyndicates.push(value);
 | 
			
		||||
                break;
 | 
			
		||||
 | 
			
		||||
@ -13,7 +13,8 @@ import {
 | 
			
		||||
    IFusionTreasure,
 | 
			
		||||
    ICustomMarkers,
 | 
			
		||||
    IPlayerSkills,
 | 
			
		||||
    IQuestKeyDatabase
 | 
			
		||||
    IQuestKeyDatabase,
 | 
			
		||||
    ILoreFragmentScan
 | 
			
		||||
} from "./inventoryTypes/inventoryTypes";
 | 
			
		||||
 | 
			
		||||
export interface IThemeUpdateRequest {
 | 
			
		||||
@ -85,6 +86,7 @@ export type IMissionInventoryUpdateRequest = {
 | 
			
		||||
    FocusXpIncreases?: number[];
 | 
			
		||||
    PlayerSkillGains: IPlayerSkills;
 | 
			
		||||
    CustomMarkers?: ICustomMarkers[];
 | 
			
		||||
    LoreFragmentScans?: ILoreFragmentScan[];
 | 
			
		||||
} & {
 | 
			
		||||
    [K in TEquipmentKey]?: IEquipmentClient[];
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user