fix: set activation & expiry for eidolon/venus/deimos bounties
This commit is contained in:
parent
61e168e444
commit
30786e7a3a
@ -321,6 +321,8 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
};
|
};
|
||||||
for (const syndicateInfo of worldState.SyndicateMissions) {
|
for (const syndicateInfo of worldState.SyndicateMissions) {
|
||||||
if (syndicateInfo.Jobs && syndicateInfo.Seed != bountyCycle) {
|
if (syndicateInfo.Jobs && syndicateInfo.Seed != bountyCycle) {
|
||||||
|
syndicateInfo.Activation.$date.$numberLong = bountyCycleStart.toString(10);
|
||||||
|
syndicateInfo.Expiry.$date.$numberLong = bountyCycleEnd.toString(10);
|
||||||
syndicateInfo.Seed = bountyCycle;
|
syndicateInfo.Seed = bountyCycle;
|
||||||
logger.debug(`refreshing jobs for ${syndicateInfo.Tag}`);
|
logger.debug(`refreshing jobs for ${syndicateInfo.Tag}`);
|
||||||
const rng = new CRng(bountyCycle);
|
const rng = new CRng(bountyCycle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user