From c29bdd3eb2e0519a9feaaee3b07372409d9ac2e8 Mon Sep 17 00:00:00 2001 From: !Ryan <100989385+softedco@users.noreply.github.com> Date: Wed, 25 Oct 2023 11:43:29 +0600 Subject: [PATCH] fix trophyFetchAll and trophyFetchId --- extensions/gamejolt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/gamejolt.js b/extensions/gamejolt.js index 21051e1798..fd5cd94d93 100644 --- a/extensions/gamejolt.js +++ b/extensions/gamejolt.js @@ -2587,7 +2587,7 @@ GameJolt.TrophyFetch( Number(trophyFetchGroup), (pResponse) => { - if (pResponse != trueStr) { + if (pResponse.success != trueStr) { [err.trophies, err.last] = [pResponse.message, pResponse.message]; data.trophies = undefined; @@ -2606,7 +2606,7 @@ GameJolt.TrophyFetchSingle( ID, (pResponse) => { - if (pResponse != trueStr) { + if (pResponse.success != trueStr) { [err.trophies, err.last] = [pResponse.message, pResponse.message]; data.trophies = undefined;