From f8e5b7ca755c99295c7f5c8996d18a9905897ba9 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 28 Dec 2024 20:34:50 -0500 Subject: [PATCH] Fixed the other modes which broke with addition of audio manual. --- .launch/FreeDoom.game | 1 + 1 file changed, 1 insertion(+) diff --git a/.launch/FreeDoom.game b/.launch/FreeDoom.game index 5b5f63f..b50e556 100755 --- a/.launch/FreeDoom.game +++ b/.launch/FreeDoom.game @@ -245,6 +245,7 @@ while [[ -z "${gameOption}" ]] || [[ "${gameOption}" == "manual" ]]; do --help-label "Exit" \ --menu "Please select one" 0 0 0 "${doomGames[@]}" --stdout)" buttonCode=$? + [[ $buttonCode -ne 0 ]] && break if [[ "${gameOption}" == "manual" ]]; then audio_manual fi