diff --git a/lgsm/functions/command_validate.sh b/lgsm/functions/command_validate.sh index eb6d13c15..7900be071 100644 --- a/lgsm/functions/command_validate.sh +++ b/lgsm/functions/command_validate.sh @@ -51,10 +51,18 @@ check_status.sh if [ "${status}" != "0" ]; then exitbypass=1 command_stop.sh - fn_validation + fn_validation "${appid}" + # will also check for second appid + if [ "${gamename}" == "Classic Offensive" ]; then + fn_validation "${appid_co}" + fi exitbypass=1 command_start.sh else fn_validation + # will also check for second appid + if [ "${gamename}" == "Classic Offensive" ]; then + fn_validation "${appid_co}" + fi fi core_exit.sh