diff --git a/UI/bug_report_form.gd b/UI/bug_report_form.gd index 9ce7bef..88a2422 100644 --- a/UI/bug_report_form.gd +++ b/UI/bug_report_form.gd @@ -49,6 +49,9 @@ func _exit_tree(): func fill_tags(tag_list:Array): __label_groups.resize(BugbotServerAPI.BugbotTagArray.MAX) __label_groups = tag_list + if __label_groups.size() != BugbotServerAPI.BugbotTagArray.MAX: + printerr("Invalid tag array format.") + return __product_name.text = ProjectSettings.get_setting("application/config/name", __DEFAULT_PRODUCT_NAME) __fill_item_list(__version_button, BugbotServerAPI.BugbotTagArray.VERSION)