The end game event is now called automatically when the game ends.