Fix undo sometimes making the AI play on wrong turn
If you undo while it's the AI turn to play it would undo the human move but the AI still thought it was its turn so the play was put on the human player
If you undo while it's the AI turn to play it would undo the human move but the AI still thought it was its turn so the play was put on the human player