From 65d831f02a2a3caf96fe152b9be2b82fb4284e5c Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 19 Mar 2024 20:48:15 +0800 Subject: [PATCH] 1 --- server/matchserver/team/team.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/matchserver/team/team.go b/server/matchserver/team/team.go index c9408935..55e7a33a 100644 --- a/server/matchserver/team/team.go +++ b/server/matchserver/team/team.go @@ -186,9 +186,11 @@ func (this *team) doStartGame(startTime int64) { this.stateNotifyMsg.State = proto.Int32(this.state) this.genStartGameInfo() this.SendStateNotify() + count := 1 f5.GetTimer().SetInterval(1000, func(e int32, args *q5.Args) { if e == q5.TIMER_EXEC_EVENT { this.SendStateNotify() + count++ } }) }