Fix gdnative api generation for methods that return enums

(cherry picked from commit 78f55698f2)
This commit is contained in:
Ranie Jade Ramiso 2020-02-02 22:39:20 +11:00 committed by Rémi Verschelde
parent 9c74452636
commit aaacc753a7
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -361,7 +361,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);