获奖记录 删除测试代码
This commit is contained in:
parent
db01ddcb0d
commit
45a5dd6852
|
|
@ -54,8 +54,6 @@ func (this *AwardLogManager) UpdateAwardLog(plt string, itemId int32, num int64)
|
|||
if srvdata.GameItemMgr.Get(plt, itemId).Type == common.ItemTypeObjective ||
|
||||
srvdata.GameItemMgr.Get(plt, itemId).Type == common.ItemTypeChange {
|
||||
typeId := int32(1)
|
||||
aaa := srvdata.GameItemMgr.Get(plt, itemId).Type
|
||||
logger.Logger.Trace("--------------------", aaa)
|
||||
if srvdata.GameItemMgr.Get(plt, itemId).Type == common.ItemTypeObjective {
|
||||
typeId = 2
|
||||
}
|
||||
|
|
@ -66,7 +64,6 @@ func (this *AwardLogManager) UpdateAwardLog(plt string, itemId int32, num int64)
|
|||
this.AwardMap[plt][typeId] = make(map[int32]int64)
|
||||
}
|
||||
this.AwardMap[plt][typeId][itemId] += num
|
||||
this.Save()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue