aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleRD.ts
diff options
context:
space:
mode:
authorstonedDiscord <stonedDiscord@users.noreply.github.com>2024-11-20 13:31:50 +0000
committerGitHub Action <actions@github.com>2024-11-20 13:31:50 +0000
commit6684f3fce6e90fd0574d7bab63b629554ab03ef6 (patch)
treeb2a62247d17e23a77af57aea355ba621666817c2 /webAO/packets/handlers/handleRD.ts
parent95a2d1361d84c61b454ebe506e6963b93f6d8dee (diff)
Prettified Code!
Diffstat (limited to 'webAO/packets/handlers/handleRD.ts')
-rw-r--r--webAO/packets/handlers/handleRD.ts19
1 files changed, 9 insertions, 10 deletions
diff --git a/webAO/packets/handlers/handleRD.ts b/webAO/packets/handlers/handleRD.ts
index dde994c..ee38f38 100644
--- a/webAO/packets/handlers/handleRD.ts
+++ b/webAO/packets/handlers/handleRD.ts
@@ -1,18 +1,17 @@
import { client } from "../../client";
-
/**
* we are asking ourselves what characters there are
* @param {Array} args packet arguments
*/
export const handleRD = (_args: string[]) => {
- client.sender.sendSelf("BN#gs4#%");
- client.sender.sendSelf("DONE#%");
- const ooclog = <HTMLInputElement>document.getElementById("client_ooclog");
- ooclog.value = "";
- ooclog.readOnly = false;
+ client.sender.sendSelf("BN#gs4#%");
+ client.sender.sendSelf("DONE#%");
+ const ooclog = <HTMLInputElement>document.getElementById("client_ooclog");
+ ooclog.value = "";
+ ooclog.readOnly = false;
- document.getElementById("client_oocinput")!.style.display = "none";
- document.getElementById("client_replaycontrols")!.style.display =
- "inline-block";
-} \ No newline at end of file
+ document.getElementById("client_oocinput")!.style.display = "none";
+ document.getElementById("client_replaycontrols")!.style.display =
+ "inline-block";
+};