aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
Diffstat (limited to '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 3ba0760..74bac39 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -407,16 +407,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.
*/
@@ -2600,7 +2590,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 = "";
}