From 9fbc149e19162ab8bea8b34e7ad368c7d79ba2a2 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 28 Dec 2024 00:02:28 -0500 Subject: [PATCH] Add the music renamer if present for Toby Doom map. --- .launch/FreeDoom.game | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.launch/FreeDoom.game b/.launch/FreeDoom.game index 5c0f772..0c5183c 100755 --- a/.launch/FreeDoom.game +++ b/.launch/FreeDoom.game @@ -346,6 +346,9 @@ case ${buttonCode} in 0) if [[ "${gameOption%% *}" == "custom_game" ]]; then custom_game + fi + if [[ -e "${gamePath}/Toby-Doom-Level-Music-Renamer.pk3" ]] && [[ "${gameOption}" =~ TobyDoomLevels.wad ]]; then + gameOption+=("${gamePath}/Toby-Doom-Level-Music-Renamer.pk3") fi launch_game ${gameOption[@]} "${flags[@]}" ;;