txlyre 2 luni în urmă
părinte
comite
9c3013f133
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  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: