From 673d16d8f2fb9d7b7df5f6fcadfbc665f329887c Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Tue, 29 Sep 2020 01:53:49 -0400 Subject: More drag updates --- scripts/socket/sock.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/socket/sock.js') diff --git a/scripts/socket/sock.js b/scripts/socket/sock.js index 4eacc18..31b9a7f 100644 --- a/scripts/socket/sock.js +++ b/scripts/socket/sock.js @@ -62,4 +62,9 @@ class SockWorker extends EventTarget{ var m = new Message(type, data); this.socket.send(m.stringify()) } + + // Raw message the server + sendRaw (s) { + this.socket.send(s) + } } -- cgit v1.2.3