Skip to content

Profectus / data/projEntry / fixOldSave

Function: fixOldSave() ​

fixOldSave(oldVersion, player): void

Given a player save data object being loaded with a different version, update the save data object to match the structure of the current version.

Parameters ​

oldVersion ​

The version of the save being loaded in

undefined | string

player ​

Partial<Player>

The save data being loaded in

Returns ​

void

Defined in ​

profectus/src/data/projEntry.tsx:116