Fixed a race condition between play_a_unit and next_turn