aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/onOOCEnter.ts
diff options
context:
space:
mode:
authorCaleb <caleb.mabry.15@cnu.edu>2022-09-08 22:20:32 -0400
committerCaleb <caleb.mabry.15@cnu.edu>2022-09-08 22:20:32 -0400
commit776fe2f4241a67be354908df546f300f413a7d42 (patch)
treedeb962d3fa12966f0f7a29c9ed1784b3c83b5e40 /webAO/dom/onOOCEnter.ts
parent23d4ef48f894adf601039fe574a0e7dfe918a105 (diff)
I'm so sorry
Diffstat (limited to 'webAO/dom/onOOCEnter.ts')
-rw-r--r--webAO/dom/onOOCEnter.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/dom/onOOCEnter.ts b/webAO/dom/onOOCEnter.ts
index a6bde4c..d7ec21b 100644
--- a/webAO/dom/onOOCEnter.ts
+++ b/webAO/dom/onOOCEnter.ts
@@ -4,9 +4,8 @@ import { client } from "../client";
* @param {KeyboardEvent} event
*/
export function onOOCEnter(event: KeyboardEvent) {
- console.log('FUCK')
if (event.keyCode === 13) {
- client.sendOOC(
+ client.sender.sendOOC(
(<HTMLInputElement>document.getElementById("client_oocinputbox")).value
);
(<HTMLInputElement>document.getElementById("client_oocinputbox")).value =