This commit is contained in:
aozhiwei 2024-03-19 20:18:53 +08:00
parent 0fb392a77d
commit c1488ddac4

View File

@ -397,6 +397,11 @@ func (this *team) genNextCopyTeam() {
nextTeam := newTeam()
nextTeam.init(nextCopyIdx, this.zoneId, this.nodeId,
this.nextTeamUuid, this.owner.GenNextCopy(), nextMapInfo)
for _, m := range this.accountIdHash {
if m != this.owner {
nextTeam.Join(m.GenNextCopy())
}
}
_teamMgr.addTeam(nextTeam)
}