Files
WT-Offline/patches/gui/battle/quit-local-host-to-debriefing/patch.jsonc
T

23 lines
773 B
JSON

// In a LocalMP random battle show the normal quit confirmation (crews left, early leave) instead of the
// custom-room host warning, and quit to the debriefing on confirm (flightmenu.nut).
// Why the client: the flight menu tests is_mplayer_host before GM_DOMINATION, and the native
// leave_mp_session (0x17909a0) returns at once on a host.
// Without it: Esc -> Return to hangar shows the host warning and cannot leave the battle.
{
"id": "battle/quit-local-host-to-debriefing",
"title": "Quit a LocalMP battle from the flight menu to the debriefing",
"file": "scripts/flightmenu/flightmenu.nut",
"features": [
"L-结算页"
],
"verified_on": [
"2.61.0.37"
],
"edits": [
{
"find": "find.nut",
"replace": "replace.nut"
}
]
}