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);