diff --git a/src/events/KickPlayer.ts b/src/events/KickPlayer.ts index 8b840ba..1d1c89f 100644 --- a/src/events/KickPlayer.ts +++ b/src/events/KickPlayer.ts @@ -37,7 +37,7 @@ export const KickPlayer = (io: Server, socket: Socket, data: KickPlayer) => { // Ensure the user can be kicked during the state if (game.status !== `lobby`) { - log.error(`Cannot kick a player from the game when not in the lobby. (state=${game.status})`); + log.warn(`Cannot kick a player from the game when not in the lobby. (state=${game.status})`); socket.emit(`PlayerKicked`, { success: false, message: `Cannot kick a player when the game is in progress.`,