From b8e498250b750eab96449548b3ad7d7c75480072 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 11 Dec 2022 23:43:47 -0600 Subject: [PATCH] Set modVersion :facepalm: --- src/util/save.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/save.ts b/src/util/save.ts index 4d89c12..413b930 100644 --- a/src/util/save.ts +++ b/src/util/save.ts @@ -116,6 +116,7 @@ export async function loadSave(playerObj: Partial): Promise { playerObj.time = Date.now(); if (playerObj.modVersion !== projInfo.versionNumber) { fixOldSave(playerObj.modVersion, playerObj); + playerObj.modVersion = projInfo.versionNumber; } Object.assign(player, playerObj);