aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2021-06-08 21:17:47 +0200
committerstonedDiscord <Tukz@gmx.de>2021-06-08 21:17:47 +0200
commit3e72d8e12942de3a164c28978d03a546ee336983 (patch)
tree206d5d4da337af4c712d40019e05ac58595c06b1
parenta4c609ebf99a8e18d61c3137b59a0e6c2870e520 (diff)
parent2dfa1427de700e62210869b75ff24dd59546cbc8 (diff)
Merge branch 'master' of https://github.com/AttorneyOnline/webAO
-rw-r--r--webAO/client.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/webAO/client.js b/webAO/client.js
index b993396..53fd271 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -406,16 +406,6 @@ class Client extends EventEmitter {
}
/**
- * Requests to leave the room and free the character slot.
- *
- * Note: This packet is undocumented. It is not implemented by
- * either the AO2 client or tsuserver.
- */
- sendLeaveRoom() {
- this.sendServer("FC#%");
- }
-
- /**
* Begins the handshake process by sending an identifier
* to the server.
*/
@@ -2637,7 +2627,6 @@ window.switchChatOffset = switchChatOffset;
* @param {MouseEvent} event
*/
export function changeCharacter(_event) {
- client.sendLeaveRoom();
document.getElementById("client_charselect").style.display = "block";
document.getElementById("client_emo").innerHTML = "";
}