From 6f2af6829853a5a379cee753f000b27ebdf828c3 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 29 Apr 2021 20:34:56 -0500 Subject: [PATCH] Fix loading not escaping and decoding --- js/utils/save.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/utils/save.js b/js/utils/save.js index 2403578..e5095db 100644 --- a/js/utils/save.js +++ b/js/utils/save.js @@ -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) {