summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-24 23:26:30 +0200
committerGitHub <noreply@github.com>2022-07-24 23:26:30 +0200
commitb7a47bfc09cc581e27fec051b71f1dfc6c68b7ad (patch)
tree48f4a7d42a7ec587a5a5043eab6d1d0081ffc796 /modules
parent9233a6be041ffe6440f6cffc5c7c5d4d450cd065 (diff)
parent5d49df8d97f4e7c0cafae80115f784f1d0e97044 (diff)
Merge pull request #63098 from Xwdit/fix_qualifiers_script_doc
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gdscript.cpp5
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