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