fix disable CAS

This commit is contained in:
Mikhail Tergoev
2024-07-11 16:00:47 +03:00
parent 5ddbdc9c6a
commit f3819039ed
2 changed files with 4 additions and 3 deletions

View File

@ -3732,7 +3732,8 @@ fi
fi
done
if [[ ! -z "${PW_VKBASALT_FFX_CAS}" ]] ; then
if [[ "$PW_VKBASALT_FFX_CAS" == "0" ]]
if [[ "$PW_VKBASALT_FFX_CAS" == "0" ]] \
|| [[ "$PW_VKBASALT_FFX_CAS" == "-1" ]]
then export VKBASALT_FFX_CAS_GUI="0"
elif [[ "$PW_VKBASALT_FFX_CAS" == "1" ]]
then export VKBASALT_FFX_CAS_GUI="100"
@ -3787,7 +3788,7 @@ fi
export PW_VKBASALT_EFFECTS="${GUI_FX_RESULT}"
if [[ "$YAD_CAS_SET" == "0" ]]
then export PW_VKBASALT_FFX_CAS="0"
then export PW_VKBASALT_FFX_CAS="-1"
elif [[ "$YAD_CAS_SET" == "100" ]]
then export PW_VKBASALT_FFX_CAS="1"
elif [[ "$YAD_CAS_SET" -lt 10 ]]