From 721a477cbf8b2f360d7eaec5e2f3f12ab6dbf21c Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 27 Nov 2023 18:47:42 -0500 Subject: [PATCH] If doom metal mod is found, add it. Currently it works with Operation MDK. --- .scripts/FreeDoom.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.scripts/FreeDoom.sh b/.scripts/FreeDoom.sh index f0318c3..7d0d10a 100755 --- a/.scripts/FreeDoom.sh +++ b/.scripts/FreeDoom.sh @@ -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)