diff options
| author | windrammer <31085911+likeawindrammer@users.noreply.github.com> | 2021-05-22 13:02:24 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-22 13:02:24 -0600 |
| commit | 8c3deb3b2679b8507ee8bf934ef74edbd96cf697 (patch) | |
| tree | a8faeb99dd4358fb5b6bbbfdfb61daef6abc6808 | |
| parent | db5ce965c1666728a1747863919d5c9619d978f4 (diff) | |
Remove FC packet
Is this even used by any servers at all?
| -rw-r--r-- | webAO/client.js | 11 |
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 = ""; } |
