save before loading new save

This commit is contained in:
thepaperpilot 2021-08-24 19:48:07 -05:00
parent d2e0ab29f2
commit e90aac51f2

View file

@ -181,6 +181,7 @@ export default defineComponent({
},
openSave(id: string) {
this.saves[player.id].time = player.time;
save();
loadSave(this.saves[id]);
const modData = JSON.parse(
decodeURIComponent(escape(atob(localStorage.getItem(modInfo.id)!)))