上传竞技场段位查找
This commit is contained in:
parent
ad3b7b61a2
commit
635e82d3d1
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user