fix游戏时长
This commit is contained in:
parent
fbc14799c1
commit
1477611d4a
|
@ -1471,7 +1471,7 @@ func (this *Scene) SaveGameDetailedLog(param *SaveGameDetailedParam) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if param.GameTime < 0 {
|
if param.GameTime <= 0 {
|
||||||
param.GameTime = int64(time.Now().Sub(this.GameNowTime).Seconds())
|
param.GameTime = int64(time.Now().Sub(this.GameNowTime).Seconds())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue