The answer is on page 8 of the rulebook (Winning the Game)
The game can end in 3 ways:
• A player with an exposed Leader Recruit is shot.
If a Wastelander shot them, the Wastelander team wins.
Otherwise, if the Subterran Leader is shot, the Euphorian team wins and if the Euphorian Leader is shot, the Subterran team wins.
• A Wastelander is given a Leader Recruit through an Artifact effect. That Wastelander wins alone.
• A player has both the Euphorian Leader and the Subterran Leader, regardless of whether they are hidden or exposed. That player