XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 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
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -0
Modified src/services/worldStateService.ts +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);