Skip to content

Commit

Permalink
Fix gdnative api generation for methods that return enums
Browse files Browse the repository at this point in the history
  • Loading branch information
raniejade committed Feb 2, 2020
1 parent 0edcb8e commit 78f5569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gdnative/nativescript/api_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,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);
Expand Down

0 comments on commit 78f5569

Please sign in to comment.