From 8ef25325219dc7dc46f7e80aa65879648a9e5bb0 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 13 Dec 2024 05:34:53 -0500 Subject: [PATCH] Fixed the -t flag which was broken by the removal of the gameList variable. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 7a8fa88..865df08 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1233,7 +1233,7 @@ while getopts "${args}" i ; do S) defaultRate="${OPTARG}";; t) dialog --backtitle "Audiogame Manager" \ - --infobox "There are currently ${#gameList[@]} games available." -1 -1 + --infobox "There are currently $(ls -1 "${0%/*}/.install" | wc -l) games available." -1 -1 exit 0 ;; v) voiceName="${OPTARG}";;