mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-22 00:21:32 +00:00
Merge pull request #30 from thepaperpilot/fix-loading
Fix loading not escaping and decoding
This commit is contained in:
commit
6640c04eed
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ function load() {
|
||||||
if (get === null || get === undefined)
|
if (get === null || get === undefined)
|
||||||
player = getStartPlayer();
|
player = getStartPlayer();
|
||||||
else
|
else
|
||||||
player = Object.assign(getStartPlayer(), JSON.parse(atob(get)));
|
player = Object.assign(getStartPlayer(), JSON.parse(decodeURIComponent(escape(atob(get)))));
|
||||||
fixSave();
|
fixSave();
|
||||||
|
|
||||||
if (player.offlineProd) {
|
if (player.offlineProd) {
|
||||||
|
|
Loading…
Reference in a new issue