Explorar el Código

Fix: ctrl + click not working

Thakee Nathees hace 5 años
padre
commit
c6dc73f9be
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      modules/gdscript/gdscript_editor.cpp

+ 1 - 0
modules/gdscript/gdscript_editor.cpp

@@ -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;
 				}