summaryrefslogtreecommitdiff
path: root/resources/js/memory.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/memory.js')
-rw-r--r--resources/js/memory.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/js/memory.js b/resources/js/memory.js
index 1732472..550ea55 100644
--- a/resources/js/memory.js
+++ b/resources/js/memory.js
@@ -131,8 +131,8 @@ const Memory = {
*/
const loadedState = JSON.parse(atob(saveData));
- Memory.state.language = loadedState.language;
- await fetchTranslation(Memory.state.language);
+ Memory.state.Settings.language = loadedState.language;
+ await fetchTranslation(Memory.state.Settings.language);
Memory.state.turn = loadedState.turn;
Memory.state.money = loadedState.money;