txlyre 1 day ago
parent
commit
9c3013f133
1 changed files with 3 additions and 0 deletions
  1. 3 0
      commands.py

+ 3 - 0
commands.py

@@ -668,6 +668,7 @@ async def chess_stop_handler(chess, id):
 async def chess_move_handler(chess, id, move):
     try:
         await chess.move(id, move)
+        await chess.move(id)
     except KeyError:
         return ["Нет активной игры."]
     except GameOver as e:
@@ -699,6 +700,7 @@ async def chess_undo_handler(chess, id):
 async def chess_skip_handler(chess, id):
     try:
         await chess.skip(id)
+        await chess.move(id)
     except KeyError:
         return ["Нет активной игры."]
     except GameOver as e:
@@ -717,6 +719,7 @@ async def chess_skip_handler(chess, id):
 async def chess_pass_handler(chess, id):
     try:
         await chess.move(id)
+        await chess.move(id)
     except KeyError:
         return ["Нет активной игры."]
     except GameOver as e: