diff --git a/server/matchserver/team/matchmgr.go b/server/matchserver/team/matchmgr.go index f0eb3b56..33aa72db 100644 --- a/server/matchserver/team/matchmgr.go +++ b/server/matchserver/team/matchmgr.go @@ -104,4 +104,10 @@ func (this *matchMgr) execMatch(m *matchingInfo) { func (this *matchMgr) onMatchOk(m *matchingInfo) { f5.GetTimer().DeleteRunningTimer() f5.GetTimer().Delete(m.matchOk.matchTimerWp) + + m.team.setMatchOk(m.matchOk.team) + m.matchOk.team.setMatchOk(m.team) + + m.team.onMatchOk() + m.matchOk.team.onMatchOk() } diff --git a/server/matchserver/team/team.go b/server/matchserver/team/team.go index 377bc163..88499e0c 100644 --- a/server/matchserver/team/team.go +++ b/server/matchserver/team/team.go @@ -119,6 +119,12 @@ func (this *team) IsLock() bool { return this.Started() || this.Matching() } +func (this *team) setMatchOk(targetM *team) { +} + +func (this *team) onMatchOk() { +} + func (this *team) CanStartGame(hum common.Player) bool { if !this.IsLock() { if this.GetMemberNum() > 0 {