mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-11-22 00:21:34 +00:00
Fix fixOldSave check
This commit is contained in:
parent
6808f983ce
commit
c6c6ff0947
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"discordName": "",
|
||||
"discordLink": "",
|
||||
|
||||
"versionNumber": "0.4",
|
||||
"versionNumber": "0.5",
|
||||
"versionTitle": "Initial Commit",
|
||||
|
||||
"allowGoBack": true,
|
||||
|
|
Loading…
Reference in a new issue