Files
WT-Offline/gui-patches
N0VAN0M4LY 91563f05cb Take the LocalMP battle outcome when the battle is left
The MissionResult HUD event did not reach the scripts before the battle
was left (a nuclear win in game still settled as not won): the HUD can
hold the result back (2.61.0.37 0x183edc0, delay at Hud +0xb8). The
eventbus event onQuitToDebriefing, however, is raised both on the fade
to the debriefing after the battle ends and when leaving from the menu,
while the mission still exists; the stock debriefing gathers its result
on it too.

Record the end time, the closing life and the outcome there, from the
mission status (success / fail; a running battle records no outcome),
and drop the MissionResult subscription.

Checked with check-gui; not yet verified in game.
2026-11-28 20:33:54 +08:00
..