From 5c6b4b5779a90a599c4db64a5194a58c509112fa Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sat, 12 Apr 2025 06:15:14 -0700 Subject: [PATCH] fix: set activation & expiry for eidolon/venus/deimos bounties (#1581) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1581 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/services/worldStateService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/services/worldStateService.ts b/src/services/worldStateService.ts index f5dde681..dbe61652 100644 --- a/src/services/worldStateService.ts +++ b/src/services/worldStateService.ts @@ -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);