From ffa9bf0a6ee5d8188a5ce25d926a2a7666d29777 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Tue, 8 Jun 2021 21:22:50 +0200 Subject: missed a const --- webAO/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit