Fix return value of GJ.giveTrophy
This commit is contained in:
parent
64c60a8a8f
commit
ecb3d3888c
@ -202,7 +202,7 @@ end
|
|||||||
function GJ.giveTrophy(id)
|
function GJ.giveTrophy(id)
|
||||||
local s = string.find(req("trophies/add-achieved/?trophy_id=" .. id, "dump", true, true), "SUCCESS") ~= nil
|
local s = string.find(req("trophies/add-achieved/?trophy_id=" .. id, "dump", true, true), "SUCCESS") ~= nil
|
||||||
GJ.fetchAllTrophies(true)
|
GJ.fetchAllTrophies(true)
|
||||||
return
|
return s
|
||||||
end
|
end
|
||||||
|
|
||||||
function GJ.fetchTrophy(id)
|
function GJ.fetchTrophy(id)
|
||||||
|
Reference in New Issue
Block a user