Set modVersion 🤦

This commit is contained in:
thepaperpilot 2022-12-11 23:43:47 -06:00
parent 2d624f8da9
commit b8e498250b

View file

@ -116,6 +116,7 @@ export async function loadSave(playerObj: Partial<PlayerData>): Promise<void> {
playerObj.time = Date.now();
if (playerObj.modVersion !== projInfo.versionNumber) {
fixOldSave(playerObj.modVersion, playerObj);
playerObj.modVersion = projInfo.versionNumber;
}
Object.assign(player, playerObj);