Fixed case mismatch in sound directory files for Heretic and Hexen.

This commit is contained in:
Storm Dragon
2025-11-01 13:42:55 -04:00
parent 4225988c94
commit a1ce9eab9f
+3 -1
View File
@@ -2299,9 +2299,11 @@ class DoomLauncher(QMainWindow):
menuPath = self.gamePath / "Addons" / "MENU"
if menuPath.exists():
# Add menu files in order
# Sound directory files use capitalized names (DOOM, Heretic, Hexen)
sound_dir_name = game_type if game_type == "DOOM" else game_type.capitalize()
menu_addons = [
"TobyV9_SimpleMenu.pk3",
f"TobySoundDirectory_{game_type}.pk3"
f"TobySoundDirectory_{sound_dir_name}.pk3"
]
for addon in menu_addons: