fixed bug causing arma3server to not load

This commit is contained in:
Daniel Gibbs 2017-06-18 23:14:41 +01:00
parent f8142d8bde
commit ea3273aa54

View File

@ -210,7 +210,7 @@ fn_install_menu() {
# Gets server info from serverlist.csv and puts in to array
fn_server_info(){
IFS=","
server_info_array=($(grep -w "${userinput}" "${serverlist}"))
server_info_array=($(grep -aw "${userinput}" "${serverlist}"))
shortname="${server_info_array[0]}" # csgo
gameservername="${server_info_array[1]}" # csgoserver
gamename="${server_info_array[2]}" # Counter Strike: Global Offensive