fix: worldState being ignored by U18.18 - U20.4 #3007

Merged
Sainan merged 1 commits from worldState-fix into main 2025-11-07 00:52:24 -08:00
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;