Fix return value of GJ.giveTrophy

This commit is contained in:
Max 2015-03-01 16:33:29 +03:00
parent 64c60a8a8f
commit ecb3d3888c

View File

@ -202,7 +202,7 @@ end
function GJ.giveTrophy(id)
local s = string.find(req("trophies/add-achieved/?trophy_id=" .. id, "dump", true, true), "SUCCESS") ~= nil
GJ.fetchAllTrophies(true)
return
return s
end
function GJ.fetchTrophy(id)