GDScript: Fix returned value of get_default_argument_count()
This commit is contained in:
parent
65c069c8d9
commit
cd6ad5462c
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user