|
@@ -3248,7 +3248,9 @@ bool GDScriptAnalyzer::get_function_signature(GDScriptParser::CallNode *p_source
|
|
|
|
|
|
for (const MethodInfo &E : methods) {
|
|
|
if (E.name == p_function) {
|
|
|
- return function_signature_from_info(E, r_return_type, r_par_types, r_default_arg_count, r_static, r_vararg);
|
|
|
+ function_signature_from_info(E, r_return_type, r_par_types, r_default_arg_count, r_static, r_vararg);
|
|
|
+ r_static = Variant::is_builtin_method_static(p_base_type.builtin_type, function_name);
|
|
|
+ return true;
|
|
|
}
|
|
|
}
|
|
|
|