From 84a1152895897dd585fed54b6f102a3784f3528c Mon Sep 17 00:00:00 2001 From: liwei <2211068034@qq.com> Date: Thu, 27 Jul 2023 20:16:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=AD=A6=E9=A6=86=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/practice/api_receive.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/practice/api_receive.go b/modules/practice/api_receive.go index c2bc05147..179011363 100644 --- a/modules/practice/api_receive.go +++ b/modules/practice/api_receive.go @@ -211,8 +211,8 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.PracticeReceiveR ants1[index].N++ } } - room.Knapsack[pillar.Teacher].State = 0 } + room.Knapsack[pillar.Teacher].State = 0 } if pconfigure != nil { if pconfigure.Exp > 0 { //经验加成 @@ -253,8 +253,8 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.PracticeReceiveR ants2[index].N++ } } - room.Knapsack[pillar.Prop].State = 0 } + room.Knapsack[pillar.Prop].State = 0 } } this.module.Debug("最终经验加成", log.Field{Key: "exp", Value: exp}, log.Field{Key: "exp1", Value: exp1})