When a power glitch abruptly halted Shania Twain's Thursday night (Aug. 20) show in Los Angeles, she didn't let the problems faze her. Instead, she kept her cool, joked around with her audience for a bit, and then resumed the concert.

Twain was near the end of her set, singing "That Don't Impress Me Much," when the power at the Staples Center went haywire; according to Mashable, the animations on the big screen behind Twain disappeared, and the arena's lights turned on. The singer left the stage, then returned after a few minutes and restarted the tune -- but her microphone malfunctioned, stopping her once again.

So, the country star improvised: She addressed two sets of fans near the front of the stage, one of whom was a rocket scientist and the other of whom had just gotten engaged.

"We have a real rocket scientist in the audience tonight ... which I think is so cool! I mean, we probably have more than one, but ...," Twain told the crowd. "... Since this is the song we had this power outage on, I thought we might as well just point you out."

The lyrics of "That Don't Impress Me Much" include lines that reference a man who is a rocket scientist: "I've known a few guys who thought they were pretty smart / But you've got being right down to an art / You think you're a genius; you drive me up the wall / You're a regular original, a know-it-all ... Okay, so you're a rocket scientist / That don't impress me much." When prompted by Twain, the fan in question told the crowd that he works as a thermonuclear engineer in NASA's jet propulsion laboratories. The singer took a photo with him, as well as with the newly engaged couple, and signed some autographs.

"See, all bad things happen for a good reason ...," she said.

After killing a little bit more time by joking around with the crowd, Twain began "That Don't Impress Me Much" for a third time -- and made it through without any more issues.

"Now we're really going to do this song, for the rocket scientist," she told the crowd before starting back up. "And, listen: If, by any chance, Brad Pitt is here tonight, he might as well show his face, too, because he's in this song."

After the show, Twain tweeted, "We had so much fun in LA that we blew the power out! We came back up within minutes and kept rocking @STAPLESCenter! #rockthiscountry"

According to the Los Angeles Times, an underground explosion and subsequent fire at a building on West Wilshire Boulevard caused the power problems.

Twain is currently touring on her 2015 Rock This Country Tour, which is scheduled to run through October.

You Think You Know Shania Twain?

Do You Know Shania Twain's Real Name?