This commit is contained in:
aozhiwei 2024-03-19 18:54:22 +08:00
parent dfe6e017ca
commit 19dafb6aad

View File

@ -82,7 +82,10 @@ func (this *matchMgr) mustBeZn(key int64) *q5.ListHead {
func (this *matchMgr) execMatch(m *matchingInfo) { func (this *matchMgr) execMatch(m *matchingInfo) {
if q5.GetTickCount() - m.addTick > 1000 * 7 { if q5.GetTickCount() - m.addTick > 1000 * 7 {
f5.GetTimer().DeleteRunningTimer()
m.team.setMatchOk(nil)
startTime := f5.GetApp().GetNowSeconds()
m.team.onMatchOk(startTime)
} else { } else {
l := this.mustBeZn(m.team.GetZnKey()) l := this.mustBeZn(m.team.GetZnKey())
l.ForEach( l.ForEach(