From 681f1bbe1a0a492512201882e91a7bfebaa56dbf Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 29 Aug 2016 23:56:47 +0100 Subject: [PATCH] will install steamcmd files first --- lgsm/functions/install_server_files.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lgsm/functions/install_server_files.sh b/lgsm/functions/install_server_files.sh index f8f28ab69..4c5f33f0d 100644 --- a/lgsm/functions/install_server_files.sh +++ b/lgsm/functions/install_server_files.sh @@ -101,6 +101,10 @@ echo "Installing ${gamename} Server" echo "=================================" sleep 1 +if [ -n "${appid}" ]; then + fn_install_server_files_steamcmd +fi + if [ "${gamename}" == "TeamSpeak 3" ]; then update_ts3.sh elif [ "${gamename}" == "Minecraft" ]; then @@ -112,10 +116,6 @@ elif [ -z "${appid}" ]||[ "${gamename}" == "GoldenEye: Source" ]; then fn_install_server_files fi -if [ -n "${appid}" ]; then - fn_install_server_files_steamcmd -fi - if [ -z "${autoinstall}" ]; then echo "" echo "================================="