Răsfoiți Sursa

changed from goldsource to appid 90

Daniel Gibbs 7 ani în urmă
părinte
comite
20a081e61d

+ 1 - 1
lgsm/functions/command_validate.sh

@@ -25,7 +25,7 @@ fn_validation(){
 		unbuffer="stdbuf -i0 -o0 -e0"
 	fi
 
-	if [ "${engine}" == "goldsource" ]; then
+	if [ "${appid}" == "90" ]; then
 		${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_info_print 70 +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +app_update "${appid}" ${branch} validate +quit | tee -a "${lgsmlog}"
 	else
 		${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" ${branch} validate +quit | tee -a "${lgsmlog}"

+ 1 - 1
lgsm/functions/install_server_files.sh

@@ -87,7 +87,7 @@ fn_install_server_files_steamcmd(){
 			fi
 
 			if [ "${counter}" -le "4" ]; then
-				if [ "${engine}" == "goldsource" ]; then
+				if [ "${appid}" == "90" ]; then
 					${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_info_print 70 +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +quit
 					local exitcode=$?
 				else

+ 1 - 1
lgsm/functions/update_steamcmd.sh

@@ -26,7 +26,7 @@ fn_update_steamcmd_dl(){
 	fi
 
 	cd "${steamcmddir}" || exit
-	if [ "${engine}" == "goldsource" ]; then
+	if [ "${appid}" == "90" ]; then
 		${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_info_print 70 +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +quit | tee -a "${lgsmlog}"
 	else
 		${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${serverfiles}" +app_update "${appid}" ${branch} +quit | tee -a "${lgsmlog}"