掉落奖励异常修复
This commit is contained in:
parent
d2ebddf88c
commit
b693081cfe
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user