diff --git a/worldsrv/awardlogmgr.go b/worldsrv/awardlogmgr.go index 62466b8..6c9f71d 100644 --- a/worldsrv/awardlogmgr.go +++ b/worldsrv/awardlogmgr.go @@ -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() } }