|
|
@@ -140,6 +140,7 @@ fn_update_request_log(){
|
|
|
}
|
|
|
|
|
|
fn_update_steamcmd_check(){
|
|
|
+ appid="${1}"
|
|
|
fn_appmanifest_check
|
|
|
# Checks for server update from SteamCMD
|
|
|
fn_print_dots "Checking for update: SteamCMD"
|
|
|
@@ -185,7 +186,6 @@ fn_update_steamcmd_check(){
|
|
|
sleep 1
|
|
|
echo -e " Current build: ${red}${currentbuild}${default}"
|
|
|
echo -e " Available build: ${green}${availablebuild}${default}"
|
|
|
- echo -e ""
|
|
|
echo -e " https://steamdb.info/app/${appid}/"
|
|
|
sleep 1
|
|
|
echo ""
|
|
|
@@ -236,7 +236,10 @@ if [ "${engine}" == "goldsource" ]||[ "${forceupdate}" == "1" ]; then
|
|
|
if [ "${status}" != "0" ]; then
|
|
|
exitbypass=1
|
|
|
command_stop.sh
|
|
|
- fn_update_steamcmd_dl
|
|
|
+ if [ "${gamename}" == "Classic Offensive" ]; then
|
|
|
+ appid="${appid_co}"
|
|
|
+ fn_update_steamcmd_dl
|
|
|
+ fi
|
|
|
exitbypass=1
|
|
|
command_start.sh
|
|
|
else
|
|
|
@@ -244,5 +247,8 @@ if [ "${engine}" == "goldsource" ]||[ "${forceupdate}" == "1" ]; then
|
|
|
fi
|
|
|
else
|
|
|
fn_update_request_log
|
|
|
- fn_update_steamcmd_check
|
|
|
+ fn_update_steamcmd_check "${appid}"
|
|
|
+ if [ "${gamename}" == "Classic Offensive" ]; then
|
|
|
+ fn_update_steamcmd_check "${appid_co}"
|
|
|
+ fi
|
|
|
fi
|