Fixed case mismatch in sound directory files for Heretic and Hexen.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user