fix:游戏记录时间
This commit is contained in:
parent
9c3f3ea191
commit
8649fa66e4
|
@ -658,7 +658,7 @@ func (this *Player) ReportGameEvent(param *ReportGameEventParam) *ReportGameEven
|
|||
isNew = 1
|
||||
}
|
||||
|
||||
if param.GameTime < 0 {
|
||||
if param.GameTime <= 0 {
|
||||
param.GameTime = int64(time.Now().Sub(this.scene.GameNowTime).Seconds())
|
||||
}
|
||||
if param.GameTime < 0 {
|
||||
|
|
Loading…
Reference in New Issue