Commit a48ab3676ac4924d541940a1e7763bb24d7d25b1

Authored by liuzujun
1 parent f4c12f1b

钻石区分渠道

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)
... ...