Add the music renamer if present for Toby Doom map.

This commit is contained in:
Storm Dragon 2024-12-28 00:02:28 -05:00
parent 8448d57710
commit 9fbc149e19

View File

@ -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[@]}"
;;