diff --git a/src/models/RolePvp.lua b/src/models/RolePvp.lua index caf9dc9..c077d66 100644 --- a/src/models/RolePvp.lua +++ b/src/models/RolePvp.lua @@ -51,7 +51,7 @@ function Role:changePvpScoreCommon(matchId, isWin) matchScore = math.max(matchScore, 0) local now = skynet.timex() - redisproxy:pipelining(function(red) + redret = redisproxy:pipelining(function(red) red:zadd(RANK_PVP_COMMON, self:packPvpScore(myScore, now), roleId) if isPlayer then red:zadd(RANK_PVP_COMMON, self:packPvpScore(matchScore, now), matchId) -- libgit2 0.21.2