aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2021-06-08 21:22:50 +0200
committerstonedDiscord <Tukz@gmx.de>2021-06-08 21:22:50 +0200
commitffa9bf0a6ee5d8188a5ce25d926a2a7666d29777 (patch)
treede0698a8ba7061e7febb91cc1b2d2eb8103e9d0d /webAO/client.js
parent3e72d8e12942de3a164c28978d03a546ee336983 (diff)
missed a const
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 53fd271..44e0fd5 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -983,7 +983,7 @@ class Client extends EventEmitter {
async fetchCharacterList() {
try {
const chardata = await request(AO_HOST + "characters.json");
- char_array = JSON.parse(chardata);
+ const char_array = JSON.parse(chardata);
// the try catch will fail before here when there is no file
const char_select = document.getElementById("client_ininame");