소스 검색

removed bad code

Daniel Gibbs 9 년 전
부모
커밋
4160791021
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      lgsm/functions/update_steamcmd.sh

+ 2 - 4
lgsm/functions/update_steamcmd.sh

@@ -236,10 +236,7 @@ if [ "${engine}" == "goldsource" ]||[ "${forceupdate}" == "1" ]; then
 	if [ "${status}" != "0" ]; then
 		exitbypass=1
 		command_stop.sh
-		if [ "${gamename}" == "Classic Offensive" ]; then
-			appid="${appid_co}"
-			fn_update_steamcmd_dl
-		fi
+		fn_update_steamcmd_dl
 		exitbypass=1
 		command_start.sh
 	else
@@ -248,6 +245,7 @@ if [ "${engine}" == "goldsource" ]||[ "${forceupdate}" == "1" ]; then
 else
 	fn_update_request_log
 	fn_update_steamcmd_check "${appid}"
+	# will also check for second appid
 	if [ "${gamename}" == "Classic Offensive" ]; then
 		fn_update_steamcmd_check "${appid_co}"
 	fi