summaryrefslogtreecommitdiff
path: root/resources/js/memory.js
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-21 22:44:21 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-21 22:44:21 +0200
commit54e5ffaeb79f989463c144e58dfcd677b752c5a9 (patch)
tree08e199c521d4ca6ba17f3499204d80f4be774917 /resources/js/memory.js
parenteef0dd25f921a8b900e902631b79fc90d70c0309 (diff)
log actions
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;