forked from OpenWF/SpaceNinjaServer
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			main
			...
			sentinel-i
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| fc3bac9d8f | |||
| 106e87d3b1 | 
@ -821,7 +821,8 @@ const addSentinel = (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    const features = premiumPurchase ? EquipmentFeatures.DOUBLE_CAPACITY : undefined;
 | 
					    const features = premiumPurchase ? EquipmentFeatures.DOUBLE_CAPACITY : undefined;
 | 
				
			||||||
    const sentinelIndex =
 | 
					    const sentinelIndex =
 | 
				
			||||||
        inventory.Sentinels.push({ ItemType: sentinelName, Configs: configs, XP: 0, Features: features }) - 1;
 | 
					        inventory.Sentinels.push({ ItemType: sentinelName, Configs: configs, XP: 0, Features: features, IsNew: true }) -
 | 
				
			||||||
 | 
					        1;
 | 
				
			||||||
    inventoryChanges.Sentinels ??= [];
 | 
					    inventoryChanges.Sentinels ??= [];
 | 
				
			||||||
    inventoryChanges.Sentinels.push(inventory.Sentinels[sentinelIndex].toJSON<IEquipmentClient>());
 | 
					    inventoryChanges.Sentinels.push(inventory.Sentinels[sentinelIndex].toJSON<IEquipmentClient>());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user