1
This commit is contained in:
parent
1b793f393b
commit
9e04f4c7d0
@ -12,6 +12,7 @@ type matchingInfo struct {
|
||||
matchTimerWp *f5.TimerWp
|
||||
matchOk* matchingInfo
|
||||
matchTick int64
|
||||
lastHasOnlinePlayerTick int64
|
||||
}
|
||||
|
||||
type matchMgr struct {
|
||||
@ -35,6 +36,7 @@ func (this *matchMgr) addMatch(team *team) {
|
||||
m := &matchingInfo{}
|
||||
m.team = team
|
||||
m.addTick = q5.GetTickCount()
|
||||
m.lastHasOnlinePlayerTick = q5.GetTickCount()
|
||||
m.entry.Init(m)
|
||||
m.matchTimerWp = f5.GetTimer().SetIntervalWp(1000, func (e int32, args* q5.Args) {
|
||||
if e == q5.TIMER_EXEC_EVENT {
|
||||
|
Loading…
x
Reference in New Issue
Block a user