fix bug
This commit is contained in:
parent
c2bea64ca6
commit
2dcd0fb829
1 changed files with 2 additions and 1 deletions
|
@ -354,6 +354,7 @@ def handle_button_click(bot, update):
|
|||
# if this is the first move, there's no mmap
|
||||
if mmap is not None:
|
||||
game.save_action(user, (row, col))
|
||||
if not array_equal(board.map, mmap):
|
||||
update_keyboard_request(bot, bhash, game, chat_id, msg.message_id)
|
||||
(s_op, s_is, s_3bv) = board.gen_statistics()
|
||||
ops_count = game.actions_sum()
|
||||
|
|
Loading…
Reference in a new issue