上传竞技场段位查找

This commit is contained in:
liwei1dao 2023-08-28 16:12:30 +08:00
parent ad3b7b61a2
commit 635e82d3d1

View File

@ -71,7 +71,7 @@ func (this *configureComp) getActiveReward(integral int32) (result *cfg.GameAren
this.module.Errorln(err) this.module.Errorln(err)
} else { } else {
for _, v := range v.(*cfg.GameArenaActiveReward).GetDataMap() { for _, v := range v.(*cfg.GameArenaActiveReward).GetDataMap() {
if integral >= v.ScoreLow && integral < v.ScoreUp { if integral >= v.ScoreLow && integral <= v.ScoreUp {
result = v result = v
return return
} }