上传配置

This commit is contained in:
liwei 2023-07-27 15:21:19 +08:00
parent cc24f33eac
commit bc56a6c3ea
2 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func (this *apiComp) ReceiveAward(session comm.IUserSession, req *pb.MainlineRec
}
return
}
awardid = (chapterconf.Starreward)
awardid = chapterconf.Starreward
} else if req.Rtype == 1 {
if award, ok = info.Exploreaward[req.Chapter]; !ok || award.Stage < req.Stage {
errdata = &pb.ErrorData{

View File

@ -42,6 +42,7 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
gameburiedCond: cfg.NewGameBuriedCondi,
gamerdtasknpc: cfg.NewGameRdtaskNpc,
gamesearchitemall: cfg.NewGameSearchitemAll,
gamesearchitembox: cfg.NewGameSearchitemBox,
})
this.condlTask = make(map[int32][]*cfg.GameWorldTaskData)
configure.RegisterConfigure(gameWorldTask, cfg.NewGameBuriedCondi, this.updateconfigure)