From a00bdc5ff92c21b4891bd018b6c0dfa47b12c2c8 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 21 Sep 2025 14:33:18 -0400 Subject: [PATCH] Removed the default text in scoreboard.py. This way people don't have to backspace before entering their name. If the text is empty or None, it then uses Player as the default. --- scoreboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scoreboard.py b/scoreboard.py index 904b00c..95fa67f 100644 --- a/scoreboard.py +++ b/scoreboard.py @@ -166,8 +166,8 @@ class Scoreboard: if name is None: # Import get_input here to avoid circular imports from .input import get_input - name = get_input("New high score! Enter your name:", "Player") - if name is None: # User cancelled + name = get_input("New high score! Enter your name:", "") + if name is None or name.strip() == "": # User cancelled or entered empty name = "Player" # Insert new score at correct position