Birth Control

Long story short I’m goin to my bfs cottage tonight w his whole fam. I take my pill at 10 every night but there picking me up at 9 and it’s a two hour drive and w the whole fam in the car I can’t take my pill there. If I take my pill at 9 right before they get me will the pill work or will I mess it up cause of not taking it at 10?? Help.