驯龙数据修复
This commit is contained in:
parent
d86fb743c0
commit
402eb4deed
@ -42,7 +42,6 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
|
|||||||
configure.RegisterConfigure(dragon_play, cfg.NewGameDragonPlay, this.LoadDragonPlay)
|
configure.RegisterConfigure(dragon_play, cfg.NewGameDragonPlay, this.LoadDragonPlay)
|
||||||
configure.RegisterConfigure(game_buzkashimount, cfg.NewGameBuzkashiMount, this.LoadDragonMount)
|
configure.RegisterConfigure(game_buzkashimount, cfg.NewGameBuzkashiMount, this.LoadDragonMount)
|
||||||
|
|
||||||
this.GetDragonMount("20030001", 3)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -122,9 +122,9 @@ func (this *ModelDragon) CreateDragon(session comm.IUserSession, dragons map[str
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if dbModel != nil {
|
if dbModel != nil {
|
||||||
err = dbModel.AddList(uid, dragonCfgId, dragon)
|
err = dbModel.AddList(uid, dragon.Id, dragon)
|
||||||
} else {
|
} else {
|
||||||
err = this.AddList(uid, dragonCfgId, dragon)
|
err = this.AddList(uid, dragon.Id, dragon)
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
|
Loading…
Reference in New Issue
Block a user