From bc24db57dd3b12fe054e8c9d26ac1e1c71eee2b2 Mon Sep 17 00:00:00 2001 From: jmueller Date: Thu, 14 Dec 2023 22:31:51 +0100 Subject: [PATCH] Removed Bug with false 25+ Rec Support --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 1c9ab2a..87b5ffb 100644 --- a/main.py +++ b/main.py @@ -803,7 +803,7 @@ class report_buttons(discord.ui.View): @discord.ui.button(label="Rekrutenbesichtigung generieren", style=discord.ButtonStyle.primary, row=1, custom_id="report_buttons_checkout") async def checkout_recruits(self, button, interaction): - if get_count_recruits(1) > 25: + if get_count_recruits(1) <= 25: generate_report25_inst = generate_report25() generate_report25_inst.children[0].options = build_option_list()[0] generate_report25_inst.children[0].max_values = get_count_recruits()