Browse Source

get mod info at the right time

pull/1255/head
UltimateByte 8 years ago
committed by GitHub
parent
commit
bb99b30bd1
  1. 3
      lgsm/functions/command_mods_install.sh

3
lgsm/functions/command_mods_install.sh

@ -72,7 +72,9 @@ while [[ ! " ${availablemodscommands[@]} " =~ " ${usermodselect} " ]]; do
fn_print_error2_nl "${usermodselect} is not a valid addon/mod." fn_print_error2_nl "${usermodselect} is not a valid addon/mod."
fi fi
done done
# Get mod info
currentmod="${usermodselect}" currentmod="${usermodselect}"
fn_mod_get_info
echo "" echo ""
echo "Installing ${modprettyname}" echo "Installing ${modprettyname}"
@ -100,7 +102,6 @@ fi
## Installation ## Installation
fn_mod_get_info
fn_create_mods_dir fn_create_mods_dir
fn_mods_clear_tmp_dir fn_mods_clear_tmp_dir
fn_mods_create_tmp_dir fn_mods_create_tmp_dir

Loading…
Cancel
Save