Skip to content

Commit

Permalink
fix trophyFetchAll and trophyFetchId
Browse files Browse the repository at this point in the history
  • Loading branch information
softedco authored Oct 25, 2023
1 parent b201a3d commit c29bdd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/gamejolt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit c29bdd3

Please sign in to comment.