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