stupid error
This commit is contained in:
parent
de6c1e54f5
commit
84c359ae99
|
|
@ -105,10 +105,10 @@ export async function joinGameInstance(ws: WebSocket, req: Request){
|
||||||
|
|
||||||
toClient.attach(toClientHandler)
|
toClient.attach(toClientHandler)
|
||||||
|
|
||||||
handlers.set("game.playerJoin", (data) => {
|
// handlers.set("game.playerJoin", (data) => {
|
||||||
uuid = data.uuid
|
// uuid = data.uuid
|
||||||
console.log(uuid)
|
// console.log(uuid)
|
||||||
})
|
// })
|
||||||
handlers.set("ping", async (data, send) => {
|
handlers.set("ping", async (data, send) => {
|
||||||
send(createPacket("ping", {}))
|
send(createPacket("ping", {}))
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user