From 54e5ffaeb79f989463c144e58dfcd677b752c5a9 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 21 Aug 2023 22:44:21 +0200 Subject: log actions --- resources/js/memory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/js/memory.js') 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; -- cgit v1.2.3