diff --git a/functions/check.sh b/functions/check.sh index 18586a3b3..909c04777 100644 --- a/functions/check.sh +++ b/functions/check.sh @@ -45,7 +45,11 @@ local allowed_commands_array=( command_debug.sh command_start.sh command_stop.sh for allowed_command in "${allowed_commands_array[@]}" do if [ "${allowed_command}" == "${function_selfname}" ]; then - check_steamcmd.sh + if [ "${gamename}" == "Unreal Tournament 99" ]||[ "${gamename}" == "Unreal Tournament 2004" ]||[ "${gamename}" == "Mumble" ]||[ "${gamename}" == "Teamspeak 3" ]; then + : # These servers do not require SteamCMD. Check is skipped. + else + check_steamcmd.sh + fi fi done diff --git a/functions/check_steamcmd.sh b/functions/check_steamcmd.sh index b2ba69727..530bd4b73 100644 --- a/functions/check_steamcmd.sh +++ b/functions/check_steamcmd.sh @@ -7,7 +7,7 @@ lgsm_version="281215" # Description: Downloads SteamCMD on install and checks if missing before running functions that require SteamCMD -if [ "${gamename}" == "Unreal Tournament 99" ]||[ "${gamename}" == "Unreal Tournament 2004" ]||[ "${gamename}" == "Mumble" ]; then +if [ "${gamename}" == "Unreal Tournament 99" ]||[ "${gamename}" == "Unreal Tournament 2004" ]||[ "${gamename}" == "Mumble" ]||[ "${gamename}" == "Teamspeak 3" ]; then : # These servers do not require SteamCMD. Check is skipped. else # Checks steamuser is setup.