From 4d1357e8762d625c300dfc8eba26ebb1cc1892d8 Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Fri, 18 Jul 2025 23:36:56 +0200 Subject: [PATCH] Fix crashing if the directory is empty. --- menus/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menus/main.py b/menus/main.py index ed0b640..f87a961 100644 --- a/menus/main.py +++ b/menus/main.py @@ -335,7 +335,7 @@ class Main(arcade.gui.UIView): content_to_show = [match[0] for match in matches] else: self.highest_score_file = "" - self.content_to_show = [] + content_to_show = [] else: self.highest_score_file = ""