Revert "Fix gdnative api generation for methods that return enums"

This reverts commit aaacc753a7.
This commit is contained in:
Rémi Verschelde 2021-07-13 17:02:59 +02:00
parent 2004c7cdca
commit 9a04e2afeb
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 = get_type_name(arg_info);
arg_type = Variant::get_type_name(arg_info.type);
}
method_api.argument_names.push_back(arg_name);