New Jersey Gov. Chris Christie said Wednesday that he was given a direct line to former President Barack Obama in 2012 after Superstorm Sandy hit his state, and said that's the kind of close coordination that the White House and governors need during a state of emergency, like the one Texas is experiencing this week after Hurricane Harvey.

Christie said on "Morning Joe" that Obama called Christie to ask if he would be "uncomfortable" with a presidential visit in the wake of the storm, since Christie had been campaigning against Obama with GOP nominee Mitt Romney.

But Christie said Obama should come, and said Wednesday that Obama was very accommodating when he arrived.

"That day, when Barack Obama came, he handed me a piece of paper with a private phone number on it, and he said, 'You call this any time, day or night, and you will get me,'" Christie said.

"He changed it on me after he got re-elected," Christie joked.

"But the fact of the matter is, I used it, and he made the instruction to his Cabinet members in front of me," Christie said. "He said, 'If the governor or any of his people call, it is unacceptable for that call not to be returned within 30 minutes.'"

Christie has told the story before, and said in 2016 that he used the line to ask Obama to help deliver more gasoline to New Jersey during the recovery.

He also said it's important for political leaders to drop politics during these sorts of emergencies.

"We both understood, even though I was out on the campaign trail beating the bejesus out of him on the behalf of Mitt Romney, right up until the Saturday before the storm, but we both understood that we have a job to do," he said.

"The fact of the matter is, I'd do it again," he said. "If it was today, I'd do it again, because that's what you're paid to do. And this other stuff is not what you're paid to do."