优化gm异常情况

This commit is contained in:
liwei 2023-07-25 15:20:41 +08:00
parent 6b917ba72e
commit 0bfb5ee096

View File

@ -481,15 +481,14 @@ func (this *WTask) BingoJumpTask(session comm.IUserSession, taskId int32) (errda
if _, ok = acceptsMap[conf.Ontxe]; ok { if _, ok = acceptsMap[conf.Ontxe]; ok {
delete(acceptsMap, conf.Ontxe) delete(acceptsMap, conf.Ontxe)
} }
}
if conf, err = this.configure.gettaskconfconfigure(conf.Ontxe); err != nil { if conf, err = this.configure.gettaskconfconfigure(conf.Ontxe); err != nil {
errdata = &pb.ErrorData{ errdata = &pb.ErrorData{
Code: pb.ErrorCode_ConfigNoFound, Code: pb.ErrorCode_ConfigNoFound,
Title: pb.ErrorCode_ConfigNoFound.ToString(), Title: pb.ErrorCode_ConfigNoFound.ToString(),
Message: err.Error(), Message: err.Error(),
}
return
} }
return
} }
} else { } else {
break break