Fix fixOldSave check

This commit is contained in:
thepaperpilot 2022-12-12 07:38:26 -06:00
parent 6808f983ce
commit c6c6ff0947
2 changed files with 2 additions and 2 deletions

View file

@ -453,7 +453,7 @@ export function fixOldSave(
player: Partial<PlayerData>
// eslint-disable-next-line @typescript-eslint/no-empty-function
): void {
if (oldVersion !== "0.0") {
if (!["0.0", "0.1", "0.2", "0.3", "0.4"].includes(oldVersion ?? "")) {
return;
}
player.offlineProd = false;

View file

@ -8,7 +8,7 @@
"discordName": "",
"discordLink": "",
"versionNumber": "0.4",
"versionNumber": "0.5",
"versionTitle": "Initial Commit",
"allowGoBack": true,