diff options
Diffstat (limited to 'resources/js/memory.js')
-rw-r--r-- | resources/js/memory.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/js/memory.js b/resources/js/memory.js index 81acf89..1732472 100644 --- a/resources/js/memory.js +++ b/resources/js/memory.js @@ -131,6 +131,9 @@ const Memory = { */ const loadedState = JSON.parse(atob(saveData)); + Memory.state.language = loadedState.language; + await fetchTranslation(Memory.state.language); + Memory.state.turn = loadedState.turn; Memory.state.money = loadedState.money; Memory.state.monsters = await Promise.all(loadedState.monsters.map(async (monsterData) => await loadMonster(monsterData))); |