feat: Void Corruption 2025 #2865
@ -1566,7 +1566,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
 | 
			
		||||
        fullyStockBaro(vt);
 | 
			
		||||
    }
 | 
			
		||||
    if (config.worldState?.voidCorruption) {
 | 
			
		||||
        worldState.Alerts.push(...voidCorruptionAlerts.map(alert => structuredClone<IAlert>(alert)));
 | 
			
		||||
        worldState.Alerts.push(...voidCorruptionAlerts);
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 
					
					Sainan marked this conversation as resolved
					
						
						
							Outdated
						
					
				 
				 | 
			||||
    }
 | 
			
		||||
    const isFebruary = date.getUTCMonth() == 1;
 | 
			
		||||
    if (config.worldState?.starDaysOverride ?? isFebruary) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	
There's really no reason to use
structuredClonehere. You can updateIWorldStateto also specifyreadonly IAlert[]for what little value it has.