You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
GDScript: Fix returned value of get_default_argument_count()
This commit is contained in:
@@ -1579,7 +1579,7 @@ StringName GDScriptFunction::get_global_name(int p_idx) const {
|
||||
|
||||
int GDScriptFunction::get_default_argument_count() const {
|
||||
|
||||
return default_arguments.size();
|
||||
return _default_arg_count;
|
||||
}
|
||||
int GDScriptFunction::get_default_argument_addr(int p_idx) const {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user