diff --git a/modules/tools/comp_configure.go b/modules/tools/comp_configure.go index ac66558a9..c0963cf91 100644 --- a/modules/tools/comp_configure.go +++ b/modules/tools/comp_configure.go @@ -196,7 +196,7 @@ func (this *MCompConfigure) GetGroupDataByLottery(lotteryId int32, vipLv int32, lottery1, ok1 = this._lotteryType1[lotteryId] lottery2, ok2 = this._lotteryType2[lotteryId] this.hlock.RUnlock() - if !ok1 || !ok2 { + if ok1 || ok2 { this.module.Errorf("not found config lotterId:%d", lotteryId) return }