At a football game, 45% were supporting the visiting team. If 946 people attending supported the home team, what was the total number of people attending the game?