summaryrefslogtreecommitdiff
path: root/resources/js/db.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/db.js')
-rw-r--r--resources/js/db.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/js/db.js b/resources/js/db.js
index aaf5423..5850a01 100644
--- a/resources/js/db.js
+++ b/resources/js/db.js
@@ -84,7 +84,7 @@ async function initializeDB () {
DB.elements[element] = await fetch(`/modules/tuxemon/mods/tuxemon/db/element/${element}.json`).then((response) => response.json());
}
- await fetchTranslation(Memory.state.language);
+ await fetchTranslation(Memory.state.Settings.language);
}
/**