Fix editor help crash

This commit is contained in:
rune-scape 2022-12-01 16:47:02 -05:00
parent 55dae30177
commit 0591f0ad37
1 changed files with 4 additions and 0 deletions

View File

@ -443,6 +443,10 @@ bool EditorHelpSearch::Runner::_phase_member_items_init() {
} }
bool EditorHelpSearch::Runner::_phase_member_items() { bool EditorHelpSearch::Runner::_phase_member_items() {
if (!iterator_match) {
return true;
}
ClassMatch &match = iterator_match->value; ClassMatch &match = iterator_match->value;
if (!match.doc || match.doc->name.is_empty()) { if (!match.doc || match.doc->name.is_empty()) {