From 9b96e585b9f841397deda99ea854ecfa79931b25 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 20 Apr 2024 13:49:07 +0800 Subject: [PATCH] 1 --- server/matchserver/team/team.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/matchserver/team/team.go b/server/matchserver/team/team.go index 77d3dbfc..a6de954d 100644 --- a/server/matchserver/team/team.go +++ b/server/matchserver/team/team.go @@ -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