返回提交历史
Modified
src/services/worldStateService.ts
+9
-0
Modified
src/types/worldStateTypes.ts
+1
-0
XFEstudio/SpaceNinjaServer
fix: worldState being ignored by U18.18 - U20.4 (#3007)
Closes #3006. A Bootstrapper code update will also be needed. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3007 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
5c397a18
代码差异
2 个文件
+10
-0
@@ -3639,6 +3639,15 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
3639
3639
}
3640
3640
worldState.Tmp = JSON.stringify(tmp);
3641
3641
3642
// This must be the last field in these versions.
3643
if (
3644
buildLabel &&
3645
version_compare(buildLabel, "2016.08.19.17.12") >= 0 &&
3646
version_compare(buildLabel, "2017.05.05.15.41") <= 0
3647
) {
3648
worldState.WorldSeed = "4763605";
3649
}
3650
3642
3651
return worldState;
3643
3652
};
3644
3653
@@ -2,6 +2,7 @@ import type { IMissionReward, TFaction, TMissionType } from "warframe-public-exp
2
2
import type { IMongoDate, IOid } from "./commonTypes.ts";
3
3
4
4
export interface IWorldState {
5
WorldSeed?: string;
5
6
Version: number; // for goals
6
7
BuildLabel: string;
7
8
Time: number;