From 0ddc146631cb4af34cc17c9adf3153ac2277e5d2 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Thu, 26 Jan 2017 18:45:36 +0100 Subject: [PATCH] total mods fix --- lgsm/functions/command_mods_install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/command_mods_install.sh b/lgsm/functions/command_mods_install.sh index 4e563b7b9..f8e5a40da 100644 --- a/lgsm/functions/command_mods_install.sh +++ b/lgsm/functions/command_mods_install.sh @@ -48,7 +48,7 @@ while [ "${compatiblemodslistindex}" -lt "${#compatiblemodslist[@]}" ]; do echo -e " * ${cyan}${displayedmodcommand}${default}" # Increment index from the amount of values we just displayed let "compatiblemodslistindex+=4" - ((totalmods++)) + ((totalmodsavailable++)) done # If no mods are available for a specific game @@ -57,7 +57,7 @@ if [ -z "${compatiblemodslist}" ]; then fn_script_log_info "No mods are currently available for ${gamename}." core_exit.sh fi -fn_script_log_info "${totalmods} addons/mods are available for install" +fn_script_log_info "${totalmodsavailable} addons/mods are available for install" ## User selects a mod echo ""