Fixed End Game Checker