上传战斗对接
This commit is contained in:
parent
024c6d2076
commit
bb449d6cb9
@ -40,11 +40,13 @@ func (this *clientComp) Init(service core.IService, module core.IModule, comp co
|
||||
|
||||
func (this *clientComp) Start() (err error) {
|
||||
err = this.ModuleCompBase.Start()
|
||||
if this.options.OpenCheck {
|
||||
for i, v := range this.options.BattleServerAddr {
|
||||
if this.clinets[i], err = newClient(v, i, this, this.options.Log); err != nil {
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user