diff options
| author | stonedDiscord <Tukz@gmx.de> | 2021-06-08 21:22:50 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2021-06-08 21:22:50 +0200 |
| commit | ffa9bf0a6ee5d8188a5ce25d926a2a7666d29777 (patch) | |
| tree | de0698a8ba7061e7febb91cc1b2d2eb8103e9d0d /webAO/client.js | |
| parent | 3e72d8e12942de3a164c28978d03a546ee336983 (diff) | |
missed a const
Diffstat (limited to 'webAO/client.js')
| -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"); |
