fixed a bug that hero attack is not vaild when game is restarted.