Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
766b2105dd
|
|
@ -105,10 +105,10 @@ export async function joinGameInstance(ws: WebSocket, req: Request){
|
|||
|
||||
toClient.attach(toClientHandler)
|
||||
|
||||
handlers.set("game.playerJoin", (data) => {
|
||||
uuid = data.uuid
|
||||
console.log(uuid)
|
||||
})
|
||||
// handlers.set("game.playerJoin", (data) => {
|
||||
// uuid = data.uuid
|
||||
// console.log(uuid)
|
||||
// })
|
||||
handlers.set("ping", async (data, send) => {
|
||||
send(createPacket("ping", {}))
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user