How does the sentence end?

The comet slammed into the planet but had missed the satellite, so the
planet was destroyed.