Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
591b479bb0
|
|
@ -40,7 +40,7 @@ export async function startGameServer(ws: WebSocket, req: Request) {
|
|||
})
|
||||
|
||||
handlers.set("ping", async (data, send) => {
|
||||
send(serialize(createPacket("ping", {})))
|
||||
send(createPacket("ping", {}))
|
||||
})
|
||||
|
||||
ws.send(BSON.serialize(createPacket("cfg.gameSecrets", {
|
||||
|
|
@ -110,7 +110,7 @@ export async function joinGameInstance(ws: WebSocket, req: Request){
|
|||
console.log(uuid)
|
||||
})
|
||||
handlers.set("ping", async (data, send) => {
|
||||
send(serialize(createPacket("ping", {})))
|
||||
send(createPacket("ping", {}))
|
||||
})
|
||||
|
||||
ws.on("message", async (msg: Buffer) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user