1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

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

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);