Commit f52070987459426489b424002d34b827fd48ff76
1 parent
cccc9c70
bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/RolePvp.lua
@@ -51,7 +51,7 @@ function Role:changePvpScoreCommon(matchId, isWin) | @@ -51,7 +51,7 @@ function Role:changePvpScoreCommon(matchId, isWin) | ||
51 | matchScore = math.max(matchScore, 0) | 51 | matchScore = math.max(matchScore, 0) |
52 | 52 | ||
53 | local now = skynet.timex() | 53 | local now = skynet.timex() |
54 | - redisproxy:pipelining(function(red) | 54 | + redret = redisproxy:pipelining(function(red) |
55 | red:zadd(RANK_PVP_COMMON, self:packPvpScore(myScore, now), roleId) | 55 | red:zadd(RANK_PVP_COMMON, self:packPvpScore(myScore, now), roleId) |
56 | if isPlayer then | 56 | if isPlayer then |
57 | red:zadd(RANK_PVP_COMMON, self:packPvpScore(matchScore, now), matchId) | 57 | red:zadd(RANK_PVP_COMMON, self:packPvpScore(matchScore, now), matchId) |