diff options
| -rw-r--r-- | webAO/client.js | 2 |
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"); |
