返回提交历史
Modified
src/services/worldStateService.ts
+2
-0
XFEstudio/SpaceNinjaServer
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>
5c6b4b57
代码差异
1 个文件
+2
-0
@@ -321,6 +321,8 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
321
321
};
322
322
for (const syndicateInfo of worldState.SyndicateMissions) {
323
323
if (syndicateInfo.Jobs && syndicateInfo.Seed != bountyCycle) {
324
syndicateInfo.Activation.$date.$numberLong = bountyCycleStart.toString(10);
325
syndicateInfo.Expiry.$date.$numberLong = bountyCycleEnd.toString(10);
324
326
syndicateInfo.Seed = bountyCycle;
325
327
logger.debug(`refreshing jobs for ${syndicateInfo.Tag}`);
326
328
const rng = new CRng(bountyCycle);