获奖记录 删除测试代码

This commit is contained in:
by 2024-07-31 11:18:39 +08:00
parent db01ddcb0d
commit 45a5dd6852
1 changed files with 0 additions and 3 deletions

View File

@ -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()
}
}