1
This commit is contained in:
parent
bf5c2e21d7
commit
6d2c0c67e6
@ -128,6 +128,7 @@ func (this *team) StartGame() {
|
|||||||
this.startTime = f5.GetApp().GetNowSeconds()
|
this.startTime = f5.GetApp().GetNowSeconds()
|
||||||
this.stateNotifyMsg.State = proto.Int32(this.state)
|
this.stateNotifyMsg.State = proto.Int32(this.state)
|
||||||
this.genStartGameInfo()
|
this.genStartGameInfo()
|
||||||
|
this.SendStateNotify()
|
||||||
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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user