diff --git a/modules/practice/module.go b/modules/practice/module.go index dad461687..35d74fe2d 100644 --- a/modules/practice/module.go +++ b/modules/practice/module.go @@ -234,6 +234,8 @@ func (this *Practice) ChallengeResults(bid, red, bule string, winSide int32) { keep = false for _, v := range buleroom.Statuers { if v.Uid == red { + v.Unionname = redsociaty + v.Figure = reduser.Figure v.End = configure.Now().Add(time.Minute * time.Duration(this.configure.GetGlobalConf().PandamasTiguandiaoxiangCd)).Unix() keep = true break @@ -260,6 +262,8 @@ func (this *Practice) ChallengeResults(bid, red, bule string, winSide int32) { keep = false for _, v := range redroom.Statuers { if v.Uid == bule { + v.Unionname = bulesociaty + v.Figure = buleuser.Figure v.End = configure.Now().Add(time.Minute * time.Duration(this.configure.GetGlobalConf().PandamasTiguandiaoxiangCd)).Unix() keep = true break