From 0d9764abd9f2c7cd395cfc2b07cb541318a27df8 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 11 Mar 2025 21:08:02 -0400 Subject: [PATCH] Fixed lower case error in variable names. --- menu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu.py b/menu.py index 9a49c62..2d522df 100644 --- a/menu.py +++ b/menu.py @@ -198,7 +198,7 @@ class Menu: # Speak initial sound name soundName = soundList[self.currentIndex] displayName = soundName.replace("/", " in folder ") - self.game.speech.speak(f"{displayname}: 1 of {len(soundList)}") + self.game.speech.speak(f"{displayName}: 1 of {len(soundList)}") while True: key, _ = self.game.wait(validKeys) @@ -216,7 +216,7 @@ class Menu: self.currentIndex += 1 soundName = soundList[self.currentIndex] displayName = soundName.replace("/", " in folder ") - self.game.speech.speak(f"{displayname}: {self.currentIndex + 1} of {len(soundList)}") + self.game.speech.speak(f"{displayName}: {self.currentIndex + 1} of {len(soundList)}") if key in [pyglet.window.key.UP, pyglet.window.key.W]: if self.currentIndex > 0: