优化装备等级
This commit is contained in:
parent
ca3bd970c0
commit
f2ba62ab0d
@ -73,7 +73,7 @@ func (this *configureComp) getHeroConfig(id string) (result *cfg.GameHeroData, e
|
|||||||
this.module.Errorln(err)
|
this.module.Errorln(err)
|
||||||
} else {
|
} else {
|
||||||
if result, ok = v.(*cfg.GameHero).GetDataMap()[id]; !ok {
|
if result, ok = v.(*cfg.GameHero).GetDataMap()[id]; !ok {
|
||||||
err = fmt.Errorf("on found getHeroConfig:%d", id)
|
err = fmt.Errorf("on found getHeroConfig:%s", id)
|
||||||
this.module.Errorln(err)
|
this.module.Errorln(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user