tzuo
This commit is contained in:
parent
1a532fef77
commit
7895648209
@ -1,5 +1,10 @@
|
||||
const socket = io();
|
||||
socket.emit("register", window.playerName?.name || window.playerName);
|
||||
const username =
|
||||
typeof window.playerName === "object"
|
||||
? window.playerName.name
|
||||
: window.playerName;
|
||||
|
||||
socket.emit("register", username);
|
||||
const chatTitle = document.getElementById("chat-title");
|
||||
|
||||
let channel = "global";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user