forked from OpenWF/SpaceNinjaServer
		
	fix: set activation & expiry for eidolon/venus/deimos bounties (#1581)
Reviewed-on: OpenWF/SpaceNinjaServer#1581 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
							
								
									9b330ffd3e
								
							
						
					
					
						commit
						5c6b4b5779
					
				@ -321,6 +321,8 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
 | 
			
		||||
    };
 | 
			
		||||
    for (const syndicateInfo of worldState.SyndicateMissions) {
 | 
			
		||||
        if (syndicateInfo.Jobs && syndicateInfo.Seed != bountyCycle) {
 | 
			
		||||
            syndicateInfo.Activation.$date.$numberLong = bountyCycleStart.toString(10);
 | 
			
		||||
            syndicateInfo.Expiry.$date.$numberLong = bountyCycleEnd.toString(10);
 | 
			
		||||
            syndicateInfo.Seed = bountyCycle;
 | 
			
		||||
            logger.debug(`refreshing jobs for ${syndicateInfo.Tag}`);
 | 
			
		||||
            const rng = new CRng(bountyCycle);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user