fix: worldState being ignored by U18.18 - U20.4
All checks were successful
Build / build (pull_request) Successful in 4m19s

A Bootstrapper code update will also be needed.
This commit is contained in:
2025-11-06 09:06:29 +01:00
parent b8d0924f0f
commit a11c0ab5c0
2 changed files with 10 additions and 0 deletions

View File

@@ -3639,6 +3639,15 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
}
worldState.Tmp = JSON.stringify(tmp);
// This must be the last field in these versions.
if (
buildLabel &&
version_compare(buildLabel, "2016.08.19.17.12") >= 0 &&
version_compare(buildLabel, "2017.05.05.15.41") <= 0
) {
worldState.WorldSeed = "4763605";
}
return worldState;
};

View File

@@ -2,6 +2,7 @@ import type { IMissionReward, TFaction, TMissionType } from "warframe-public-exp
import type { IMongoDate, IOid } from "./commonTypes.ts";
export interface IWorldState {
WorldSeed?: string;
Version: number; // for goals
BuildLabel: string;
Time: number;