Commit 2f214bdbdab7843d1f4ea1fbd03d1a26c0acb8f6

Authored by zhangqijia
2 parents 9f4cad29 2fdb4d55

Merge remote-tracking branch 'origin/cn/develop' into cn/develop

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/models/RolePlugin.lua
... ... @@ -494,7 +494,7 @@ function RolePlugin.bind(Role)
494 494 local originr = self:getProperty("sid") == IOS_SID and self:getProperty("reDiamondIos") or self:getProperty("reDiamond")
495 495 local origin = origind + originr
496 496 --if params.isRecharge then
497   - if params.sid == IOS_SID then
  497 + if self:getProperty("sid") == IOS_SID then
498 498 self:incrProperty("reDiamondIos", count)
499 499 else
500 500 self:incrProperty("reDiamond", count)
... ...