import simple fields
This commit is contained in:
		
							parent
							
								
									c8402ae497
								
							
						
					
					
						commit
						2c77336e0c
					
				| @ -91,4 +91,20 @@ export const importInventory = (db: TInventoryDatabaseDocument, client: Partial< | |||||||
|             replaceSlots(db[key], client[key]); |             replaceSlots(db[key], client[key]); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |     for (const key of [ | ||||||
|  |         "RegularCredits", | ||||||
|  |         "PremiumCredits", | ||||||
|  |         "PremiumCreditsFree", | ||||||
|  |         "FusionPoints", | ||||||
|  |         "PrimeTokens" | ||||||
|  |     ] as const) { | ||||||
|  |         if (client[key]) { | ||||||
|  |             db[key] = client[key]; | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  |     for (const key of ["ThemeStyle", "ThemeBackground", "ThemeSounds", "EquippedInstrument"] as const) { | ||||||
|  |         if (client[key]) { | ||||||
|  |             db[key] = client[key]; | ||||||
|  |         } | ||||||
|  |     } | ||||||
| }; | }; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user