上传升级代码
This commit is contained in:
parent
d25970f9d6
commit
0a803ac021
@ -225,7 +225,7 @@ func (this *ModelUser) computeLevel(change *pb.UserResChangedPush) (lvchange boo
|
||||
rewards = make([]*cfg.Gameatn, 0)
|
||||
for {
|
||||
nextLvConf = this.module.configure.GetPlayerlvConf(curLv + 1)
|
||||
if nextLvConf != nil {
|
||||
if nextLvConf == nil {
|
||||
break
|
||||
}
|
||||
if curExp >= int64(nextLvConf.Exp) {
|
||||
|
Loading…
Reference in New Issue
Block a user