Fixed a bug when the game is ended.

1. Previously after the game is ended, it won't redirect to the game
result page imediately...