This commit is contained in:
meixiongfeng 2023-09-13 11:33:56 +08:00
parent 6784338b43
commit 65e6456f00
2 changed files with 2 additions and 6 deletions

View File

@ -53,9 +53,7 @@ func (this *Battle) Init(service core.IService, module core.IModule, options cor
return
}
func (this *Battle) Start() (err error) {
if if err = this.ModuleBase.Start(); err != nil {
return
}; err != nil {
if err = this.ModuleBase.Start(); err != nil {
return
}
var module core.IModule

View File

@ -64,9 +64,7 @@ func (this *ModuleBase) Init(service core.IService, module core.IModule, options
// 模块启动接口
func (this *ModuleBase) Start() (err error) {
if if err = this.ModuleBase.Start(); err != nil {
return
}; err != nil {
if err = this.ModuleBase.Start(); err != nil {
return
}
var comp core.IServiceComp