diff options
| author | sD <stoned@derpymail.org> | 2019-12-23 19:20:15 +0100 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2019-12-23 19:20:15 +0100 |
| commit | 79ce937f0d14b810603a443b1e4f82de756cefab (patch) | |
| tree | 97b905adafb853d71219bb2a32c31583d1445697 /webAO | |
| parent | 1e3988772431a0dcc19a27dab083ada0adfe3779 (diff) | |
fix CI packet
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webAO/client.js b/webAO/client.js index 5187515..4fe9d25 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -601,6 +601,7 @@ class Client extends EventEmitter { /** * Handles incoming character information, bundling multiple characters * per packet. + * CI#0#Phoenix&description&&&&#Miles ... * @param {Array} args packet arguments */ handleCI(args) { @@ -610,7 +611,7 @@ class Client extends EventEmitter { if (i % 2 === 0) { document.getElementById("client_loadingtext").innerHTML = `Loading Character ${i}/${this.char_list_length}`; const chargs = args[i].split("&"); - this.handleCharacterInfo(chargs, i-1); + this.handleCharacterInfo(chargs, args[i-1]); } } // Request the next pack |
