diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-24 23:26:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 23:26:30 +0200 |
commit | b7a47bfc09cc581e27fec051b71f1dfc6c68b7ad (patch) | |
tree | 48f4a7d42a7ec587a5a5043eab6d1d0081ffc796 /modules | |
parent | 9233a6be041ffe6440f6cffc5c7c5d4d450cd065 (diff) | |
parent | 5d49df8d97f4e7c0cafae80115f784f1d0e97044 (diff) |
Merge pull request #63098 from Xwdit/fix_qualifiers_script_doc
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gdscript.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index 964c1133ff..a34bf6ef82 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -278,6 +278,11 @@ void GDScript::_get_script_method_list(List<MethodInfo> *r_list, bool p_include_ GDScriptFunction *func = E.value; MethodInfo mi; mi.name = E.key; + + if (func->is_static()) { + mi.flags |= METHOD_FLAG_STATIC; + } + for (int i = 0; i < func->get_argument_count(); i++) { PropertyInfo arginfo = func->get_argument_type(i); #ifdef TOOLS_ENABLED |