stupid error

This commit is contained in:
Neo 2025-03-11 12:52:46 -04:00
parent de6c1e54f5
commit 84c359ae99

View File

@ -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", {}))
}) })