update log message

This commit is contained in:
Nathaniel Tampus
2023-04-05 21:52:22 +08:00
parent 3f851602ea
commit b448ded981

View File

@@ -109,7 +109,7 @@ export async function claimAbandoned(this: Socket, type: "win" | "draw") {
(game.white.id !== this.request.session.user.id && (game.white.id !== this.request.session.user.id &&
game.black.id !== this.request.session.user.id) game.black.id !== this.request.session.user.id)
) { ) {
console.log(`claimAbandoned: Game not found or user is not a player.`); console.log(`claimAbandoned: Invalid game or user is not a player.`);
return; return;
} }