上传代码修复
This commit is contained in:
parent
e8a5037e04
commit
fd097b5784
@ -145,10 +145,6 @@ func (this *Practice) TaskComplete(session comm.IUserSession, taskid int32) {
|
||||
}
|
||||
|
||||
func (this *Practice) ChallengeResults(bid, red, bule string, winSide int32) {
|
||||
if winSide == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
var (
|
||||
redroom *pb.DBPracticeRoom
|
||||
reduser *pb.DBUser
|
||||
@ -175,6 +171,9 @@ func (this *Practice) ChallengeResults(bid, red, bule string, winSide int32) {
|
||||
|
||||
}
|
||||
|
||||
if winSide == 0 {
|
||||
return
|
||||
}
|
||||
reduser = this.ModuleUser.GetUser(red)
|
||||
buleuser = this.ModuleUser.GetUser(bule)
|
||||
if redroom, err = this.modelPandata.queryUserMartialhall(red); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user