diff options
Diffstat (limited to 'scripts/client.js')
-rw-r--r-- | scripts/client.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/client.js b/scripts/client.js index bceb7a4..92f518c 100644 --- a/scripts/client.js +++ b/scripts/client.js @@ -163,7 +163,11 @@ class Client{ { let m = e.detail; - if (TABLE_RPC.includes(m.type)) + if(m.type == "nojoin") { + alert(`Failed to join game. ${m.data}`); + } else if (m.type == "join") { + console.log("join not impl") + } else if (TABLE_RPC.includes(m.type)) this.table[m.type](m.data); } |