fix游戏时长

This commit is contained in:
sk 2024-12-02 14:06:15 +08:00
parent 80c191ec98
commit 383716741c
1 changed files with 1 additions and 1 deletions

View File

@ -1471,7 +1471,7 @@ func (this *Scene) SaveGameDetailedLog(param *SaveGameDetailedParam) {
return
}
if param.GameTime < 0 {
if param.GameTime <= 0 {
param.GameTime = int64(time.Now().Sub(this.GameNowTime).Seconds())
}