1
This commit is contained in:
parent
c2f2684c3d
commit
6b85d6913a
@ -32,6 +32,10 @@ func GetTeamMgr() common.TeamMgr {
|
||||
return teamMgr
|
||||
}
|
||||
|
||||
func GetHistoryMgr() common.HistoryMgr {
|
||||
return historyMgr
|
||||
}
|
||||
|
||||
func GetWspListener() common.WspListener {
|
||||
return wspListener
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import (
|
||||
"main/mt"
|
||||
"main/common"
|
||||
"main/constant"
|
||||
. "main/global"
|
||||
|
||||
"fmt"
|
||||
"sort"
|
||||
@ -427,6 +428,9 @@ func (this *team) genStartGameInfo() {
|
||||
ele2.AccountId = m.GetAccountId()
|
||||
ele2.SpecSkill = m.GetSpecSkill()
|
||||
ele2.HeroUniId = m.GetHeroUniid()
|
||||
GetHistoryMgr().AddBattle(m.GetAccountId(),
|
||||
this.mapInfo.MapId,
|
||||
q5.SafeToInt32(this.mapInfo.ModeId))
|
||||
}
|
||||
if this.IsMobaMode() {
|
||||
robotIdx := 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user