Fix crashing if the directory is empty.

This commit is contained in:
csd4ni3l
2025-07-18 23:36:56 +02:00
parent 90c7859622
commit 4d1357e876

View File

@@ -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 = ""