修复赛季积分重置问题
This commit is contained in:
parent
a293b03b21
commit
e4afc80be9
|
@ -171,6 +171,10 @@ func init() {
|
|||
items := msg.GetItems()
|
||||
if items != nil {
|
||||
for _, dbItem := range dbItemArr {
|
||||
//todo 临时修复,正常应该道具需要使用事务同步
|
||||
if dbItem.GetId() == common.ItemIDPermit {
|
||||
continue
|
||||
}
|
||||
if itemNum, exist := items[dbItem.Id]; exist {
|
||||
oldItem := BagMgrSingleton.GetItem(p.SnId, dbItem.Id)
|
||||
diffNum := itemNum
|
||||
|
|
Loading…
Reference in New Issue