From 45a5dd6852bfffc38e5290a83de292155b7dbc41 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Wed, 31 Jul 2024 11:18:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=A5=96=E8=AE=B0=E5=BD=95=20?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B5=8B=E8=AF=95=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/awardlogmgr.go | 3 --- 1 file changed, 3 deletions(-) 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() } }