The public and private benefit of an impure public good determines the sensitivity of bacteria to population collapse in a snowdrift game.