掉落奖励异常修复

This commit is contained in:
meixiongfeng 2023-10-08 18:06:13 +08:00
parent d2ebddf88c
commit b693081cfe

View File

@ -262,7 +262,7 @@ func (this *MCompConfigure) GetGroupDataByLottery(lotteryId int32, vipLv int32,
sztW = append(sztW, _data.Itemwt)
sztID = append(sztID, _data)
}
if len(sztW) > 0 {
if len(sztW) == 0 {
continue
}
_data := sztID[comm.GetRandW(sztW)]