he was correct for just as the words had left his mouth an enemy vessel rose in front of them and began to fire upon them before being destroyed by a blast of rail gun fire from the opposite side of the ship .