1
This commit is contained in:
parent
9c59c73822
commit
65d831f02a
@ -186,9 +186,11 @@ func (this *team) doStartGame(startTime int64) {
|
|||||||
this.stateNotifyMsg.State = proto.Int32(this.state)
|
this.stateNotifyMsg.State = proto.Int32(this.state)
|
||||||
this.genStartGameInfo()
|
this.genStartGameInfo()
|
||||||
this.SendStateNotify()
|
this.SendStateNotify()
|
||||||
|
count := 1
|
||||||
f5.GetTimer().SetInterval(1000, func(e int32, args *q5.Args) {
|
f5.GetTimer().SetInterval(1000, func(e int32, args *q5.Args) {
|
||||||
if e == q5.TIMER_EXEC_EVENT {
|
if e == q5.TIMER_EXEC_EVENT {
|
||||||
this.SendStateNotify()
|
this.SendStateNotify()
|
||||||
|
count++
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user