summaryrefslogtreecommitdiff
path: root/scripts/client.js
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-07-27 14:09:42 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-07-27 14:09:42 -0400
commite1af055dc8bcb2676969b9d57b098e6781df2b01 (patch)
treebad497845bfa34f3c4b2dce576ce37fa130f0419 /scripts/client.js
parentd0ec435399ff3308be1b79ad67e37321b9a97b8e (diff)
[chat] Fix chat bug
Diffstat (limited to 'scripts/client.js')
-rw-r--r--scripts/client.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/client.js b/scripts/client.js
index 01d5bea..dba8630 100644
--- a/scripts/client.js
+++ b/scripts/client.js
@@ -109,6 +109,8 @@ class Client{
case "ready":
console.log(`Handshake with server OK. Running client version ${VERSION}`);
+ this.lobby.setState("Connected", "ok", this.socket.server)
+
this.settings.cleanup();
this.gameOptions.cleanup();