Merge pull request #35847 from raniejade/ranie/fix-api-generator

Fix gdnative api generation for methods that return enums
This commit is contained in:
Rémi Verschelde 2021-07-06 13:35:23 +02:00 committed by GitHub
commit 5ade46199f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ List<ClassAPI> generate_c_api_classes() {
arg_type = Variant::get_type_name(arg_info.type);
}
} else {
arg_type = Variant::get_type_name(arg_info.type);
arg_type = get_type_name(arg_info);
}
method_api.argument_names.push_back(arg_name);