Browse Source

< rather than <=

pull/1255/head
UltimateByte 8 years ago
committed by GitHub
parent
commit
abb4ba32c7
  1. 2
      lgsm/functions/mods_core.sh

2
lgsm/functions/mods_core.sh

@ -536,7 +536,7 @@ fn_installed_mods_update_list(){
echo "Installed mods/addons" echo "Installed mods/addons"
# Were now based on ${installedmodslist} array's values # Were now based on ${installedmodslist} array's values
# We're gonna go through all available commands, get details and display them to the user # We're gonna go through all available commands, get details and display them to the user
for ((ulindex=0; ulindex <= ${#installedmodslist[@]}; ulindex++)); do for ((ulindex=0; ulindex < ${#installedmodslist[@]}; ulindex++)); do
# Current mod is the "ulindex" value of the array we're going through # Current mod is the "ulindex" value of the array we're going through
currentmod="${installedmodslist[ulindex]}" currentmod="${installedmodslist[ulindex]}"
# Get mod info # Get mod info

Loading…
Cancel
Save