From 00dee7ed6d795788dc53f0e6626daa1fc022659d Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Fri, 3 Mar 2023 16:05:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/hero/module.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hero/module.go b/modules/hero/module.go index 8466768c1..2ef250c36 100644 --- a/modules/hero/module.go +++ b/modules/hero/module.go @@ -299,6 +299,7 @@ func (this *Hero) AddHeroExp(session comm.IUserSession, heroObjID string, exp in _hero *pb.DBHero _changeHero []*pb.DBHero // 变化的英雄 ) + _hero = &pb.DBHero{} if heroObjID == "" { return }