This commit is contained in:
aozhiwei 2024-03-19 20:48:15 +08:00
parent 9c59c73822
commit 65d831f02a

View File

@ -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++
}
})
}