aboutsummaryrefslogtreecommitdiff
path: root/webAO/client.js
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2019-12-20 02:02:52 +0100
committersD <stoned@derpymail.org>2019-12-20 02:02:52 +0100
commit76a55918543d80f42772798ebec607b8437f3a37 (patch)
treee0977bbaa5b359a6c7d66240158d9bf8869e157a /webAO/client.js
parenteb43c309d8a6330245a4fb9c77b5c1d90a9a75eb (diff)
this isn't even a real packet
Diffstat (limited to 'webAO/client.js')
-rw-r--r--webAO/client.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 59952e0..4a5d643 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -133,10 +133,8 @@ class Client extends EventEmitter {
this.on("EM", this.handleEM.bind(this));
this.on("SM", this.handleSM.bind(this));
this.on("BD", this.handleBD.bind(this));
- this.on("music", this.handlemusic.bind(this));
this.on("DONE", this.handleDONE.bind(this));
this.on("BN", this.handleBN.bind(this));
- this.on("NBG", this.handleNBG.bind(this));
this.on("HP", this.handleHP.bind(this));
this.on("RT", this.handleRT.bind(this));
this.on("ZZ", this.handleZZ.bind(this));
@@ -689,17 +687,6 @@ class Client extends EventEmitter {
}
/**
- * Handles incoming music information, containing all entries
- * in the same packet.
- * @param {Array} args packet arguments
- */
- handlemusic(args) {
- for (let i = 0; i < args.length / 2; i++) {
- this.musicList[args[2 * i]] = args[2 * i + 1];
- }
- }
-
- /**
* Handles the kicked packet
* @param {Array} args kick reason
*/