From 92799f1f6689fdb49a16388e44a2055394bc8972 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Fri, 3 Mar 2023 15:48:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=A5=BD=E5=8F=8B=E6=9C=A8?= =?UTF-8?q?=E6=A1=A9=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/practice/api_loot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/practice/api_loot.go b/modules/practice/api_loot.go index d50c92884..3551ec48c 100644 --- a/modules/practice/api_loot.go +++ b/modules/practice/api_loot.go @@ -42,7 +42,7 @@ func (this *apiComp) Loot(session comm.IUserSession, req *pb.PracticeLootReq) (c code = pb.ErrorCode_ConfigNoFound return } - if code = this.module.ModuleHero.KungFuHero(session, req.Hero, true, ""); code != pb.ErrorCode_Success { + if code = this.module.ModuleHero.KungFuHero(session, req.Hero, true, req.Friend); code != pb.ErrorCode_Success { return } if req.Teacher != "" {