Morning after pill

Took the morning after pill on Monday  but Monday evening had sex with condom and it split nurse do I need another morning after pill, doctor said I didn't because it's within 12hrs of the last one I took is this right? Xx