Fix a bug which calls post-game process multiple times