A doubleheader refers to the same two teams playing two games in one day, as per the local time zone which the game is played. Bets made on a game will only apply to that specific game.
If it is not clear which game a bet refers to, for example Game 1 or Game 2, the game with the earliest advertised start time will be deemed to be Game 1.