Fix: ctrl + click not working

This commit is contained in:
Thakee Nathees 2020-08-13 17:35:17 +05:30
parent ec678c5e94
commit c6dc73f9be
1 changed files with 1 additions and 0 deletions

View File

@ -2762,6 +2762,7 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co
if (base_type.class_type->has_member(p_symbol)) {
r_result.type = ScriptLanguage::LookupResult::RESULT_SCRIPT_LOCATION;
r_result.location = base_type.class_type->get_member(p_symbol).get_line();
return OK;
}
base_type = base_type.class_type->base_type;
}