Merge pull request #1766 from fewtarius/dev

Fix setsettings bug
This commit is contained in:
fewtarius 2023-07-19 20:58:00 -04:00 committed by GitHub
commit cf32f62533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -338,7 +338,7 @@ function set_fps() {
function set_cheevos() {
local USE_CHEEVOS=$(game_setting "retroachievements")
local CHECK_CHEEVOS="$(match "${PLATFORM}" "${HAS_CHEEVOS[@]}")"
if [ "${USE_CHEEVOS}" = 1 ]& \
if [ "${USE_CHEEVOS}" = 1 ] && \
[ "${CHECK_CHEEVOS}" = 1 ]
then
add_setting "none" "cheevos_enable" "true"