移除报错
This commit is contained in:
parent
25611388bb
commit
6f6f86d6a4
@ -199,22 +199,6 @@ func (this *configureComp) GetPagodaCirculateConf(restriction int32, floor int32
|
||||
return
|
||||
}
|
||||
|
||||
func (this *configureComp) GetPagodaRaceConfById(id int32) (data *cfg.GameCirculateData, err error) {
|
||||
var (
|
||||
v interface{}
|
||||
)
|
||||
if v, err = this.GetConfigure(game_circulate); err == nil {
|
||||
if configure, ok := v.(*cfg.GameCirculate); ok {
|
||||
data = configure.Get(id)
|
||||
if data != nil {
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
err = comm.NewNotFoundConfErr(moduleName, game_circulate, id)
|
||||
return
|
||||
}
|
||||
|
||||
func (this *configureComp) GetRaceCirculateConf() []int32 {
|
||||
return this.circulate
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user