If doom metal mod is found, add it. Currently it works with Operation MDK.

This commit is contained in:
Storm Dragon 2023-11-27 18:47:42 -05:00
parent d2f6650987
commit 721a477cbf

View File

@ -54,6 +54,9 @@ gameOption="$(dialog --backtitle "Select your Doom!" \
--help-label "Exit" \
--menu "Please select one" 0 0 0 "${doomGames[@]}" --stdout)"
buttonCode=$?
if [[ -e "${doomPath}/DoomMetalVol6.wad" ]]; then
gameOption+=" ${doomPath}/DoomMetalVol6.wad"
fi
case ${buttonCode} in
1)