Fixed the -t flag which was broken by the removal of the gameList variable.

This commit is contained in:
Storm Dragon 2024-12-13 05:34:53 -05:00
parent 97665e0b22
commit 8ef2532521

View File

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