1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-21 08:12:39 +00:00

Fix loading not escaping and decoding

This commit is contained in:
thepaperpilot 2021-04-29 20:34:56 -05:00
parent f22629bca3
commit 6f2af68298

View file

@ -171,7 +171,7 @@ function load() {
if (get === null || get === undefined)
player = getStartPlayer();
else
player = Object.assign(getStartPlayer(), JSON.parse(atob(get)));
player = Object.assign(getStartPlayer(), JSON.parse(decodeURIComponent(escape(atob(get)))));
fixSave();
if (player.offlineProd) {