Daniel Gibbs 10 лет назад
Родитель
Сommit
5b10275c45
1 измененных файлов с 5 добавлено и 6 удалено
  1. 5 6
      lgsm/functions/install_server_files.sh

+ 5 - 6
lgsm/functions/install_server_files.sh

@@ -90,16 +90,15 @@ echo ""
 echo "Installing ${gamename} Server"
 echo "================================="
 sleep 1
-if [ -n "${appid}" ]; then
-	fn_install_server_files_steamcmd
-fi
 
-if [ -z "${appid}" ]||[ "${gamename}" == "GoldenEye: Source" ]; then
+if [ "${gamename}" == "Teamspeak 3" ]; then
+	update_ts3.sh
+elif [ -z "${appid}" ]||[ "${gamename}" == "GoldenEye: Source" ]; then
 	fn_install_server_files
 fi
 
-if [ "${gamename}" == "Teamspeak 3" ]; then
-	update_ts3.sh
+if [ -n "${appid}" ]; then
+	fn_install_server_files_steamcmd
 fi
 
 if [ -z "${autoinstall}" ]; then