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