Files
WT-Offline/patches/gui/tutorials/guard-crew-training-intro/patch.jsonc
T
N0VAN0M4LY 0881d62766 fix(tutorials): prevent crew training from reopening or trapping input
Record completion after the guided crew upgrade succeeds. Keep the guide dismissible and close it when its slot or menu target disappears. Compile the affected scripts with the stock queue flag bindings.
2026-11-30 05:02:55 +08:00

41 lines
994 B
JSON

// The crew skill guide may be entered from the hangar while menus are reopening.
{
"id": "tutorials/guard-crew-training-intro",
"title": "Keep the crew skill guide from reopening",
"features": [
"A-Tutorials"
],
"variants": [
{
"written_for": "2.61.0.37",
"file": "scripts/mainmenu/instantactionhandler.nut",
"edits": [
{
"find": "find-imports.nut",
"replace": "replace-imports.nut"
},
{
"find": "find-entry.nut",
"replace": "replace-entry.nut"
},
{
"find": "find-slot.nut",
"replace": "replace-slot.nut"
},
{
"find": "find-slot-step.nut",
"replace": "replace-slot-step.nut"
},
{
"find": "find-menu-step.nut",
"replace": "replace-menu-step.nut"
},
{
"find": "find-allow-close.nut",
"replace": "replace-allow-close.nut"
}
]
}
]
}