1
This commit is contained in:
parent
36cb9df79f
commit
c4f90d2c3b
@ -126,6 +126,7 @@ func (this *team) StartGame() {
|
|||||||
if !this.Started() && this.CanStartGame(this.owner) {
|
if !this.Started() && this.CanStartGame(this.owner) {
|
||||||
this.state = constant.TEAM_STATE_STARTED
|
this.state = constant.TEAM_STATE_STARTED
|
||||||
this.startTime = f5.GetApp().GetNowSeconds()
|
this.startTime = f5.GetApp().GetNowSeconds()
|
||||||
|
this.stateNotifyMsg.State = proto.Int32(this.state)
|
||||||
this.genStartGameInfo()
|
this.genStartGameInfo()
|
||||||
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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user