@@ -671,6 +671,8 @@ async def chess_from_handler(chess, id, moves):
f"Конец игры: {str(e)}",
]
except IllegalMove as e:
+ await chess.end(id)
+
move = str(e)
if move: