Under other circumstances, with a shade more luck, the story would eventually have been told and retold as a heroic and masterly reversal of a lost situation.
The lost situation was saved because of their luck.
The lost situation wasn't saved because of their luck.