summaryrefslogtreecommitdiff
path: root/core/class_db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/class_db.cpp')
-rw-r--r--core/class_db.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/class_db.cpp b/core/class_db.cpp
index 481b1c398a..1cb287a143 100644
--- a/core/class_db.cpp
+++ b/core/class_db.cpp
@@ -534,8 +534,9 @@ void ClassDB::get_method_list(StringName p_class, List<MethodInfo> *p_methods, b
}
minfo.return_val = method->get_return_info();
-
minfo.flags = method->get_hint_flags();
+ minfo.default_arguments = method->get_default_arguments();
+
p_methods->push_back(minfo);
}