From 2ce3f5bf9494cec6f041a38f5245fa844d740d83 Mon Sep 17 00:00:00 2001 From: Scarsz Date: Sat, 16 May 2015 01:49:40 -0700 Subject: [PATCH] Update fn_install_serverfiles --- functions/fn_install_serverfiles | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/functions/fn_install_serverfiles b/functions/fn_install_serverfiles index 2d28c438b..e839750bc 100644 --- a/functions/fn_install_serverfiles +++ b/functions/fn_install_serverfiles @@ -5,12 +5,7 @@ # Version: 050515 fn_steaminstallcommand(){ -if [ -z "${steamuser}" ]; then - fn_printwarningnl "SteamCMD user variable is not assigned in the main script! Resorting to anonymous login" - steamuser="anonymous" - steampass="" -fi - +fn_check_steamuser counter="0" while [ "${counter}" == "0" ]||[ "$(grep -wc 0x402 .fn_install_serverfiles.tmp)" -ge "1" ]||[ "$(grep -wc 0x406 .fn_install_serverfiles.tmp)" -ge "1" ]||[ "$(grep -wc 0x6 .fn_install_serverfiles.tmp)" -ge "1" ]||[ "$(grep -wc 0x106 .fn_install_serverfiles.tmp)" -ge "1" ]; do counter=$((counter+1))