This commit is contained in:
aozhiwei 2024-04-20 13:49:07 +08:00
parent f23adae8e5
commit 9b96e585b9

View File

@ -511,6 +511,7 @@ func (this *team) genNextCopyTeam() {
this.nextTeamUuid, this.owner.GenNextCopy(), nextMapInfo)
this.traverseMembers(
func (m common.Player) bool {
this.preTeamRealPlayerHash[m.GetAccountId()] = q5.GetTickCount()
if m != this.owner {
nextTeam.Join(m.GenNextCopy())
}
@ -598,6 +599,10 @@ func (this *team) traverseMembers(cb func(common.Player) bool) {
}
}
func (this *team) checkMemberState() {
}
func newTeam() *team {
t := new(team)
t.state = constant.TEAM_STATE_INIT