上传体力优化
This commit is contained in:
parent
32e2027622
commit
76a39dc594
@ -1065,8 +1065,8 @@ func (this *User) recoverUserPs(user *pb.DBUser) (total int32, nexttime int64) {
|
|||||||
}
|
}
|
||||||
user.LastRecoverPsSec = cur
|
user.LastRecoverPsSec = cur
|
||||||
user.Ps += add
|
user.Ps += add
|
||||||
nexttime = user.LastRecoverPsSec + int64(ggd.PsRecovery)
|
|
||||||
}
|
}
|
||||||
|
nexttime = user.LastRecoverPsSec + int64(ggd.PsRecovery)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user