aboutsummaryrefslogtreecommitdiff
path: root/test-client/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test-client/main.ts')
-rw-r--r--test-client/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/main.ts b/test-client/main.ts
index 7b515752..e0cc9b3c 100644
--- a/test-client/main.ts
+++ b/test-client/main.ts
@@ -51,7 +51,7 @@ function send(p: PacketS) { ws.send(JSON.stringify(p)) }
function packet(p: PacketC) {
if (!["position", "set_active"].includes(p.type)) console.log(p);
switch (p.type) {
- case "joined":
+ case "init":
my_id = p.id
data = p.data
break;