fix游戏时长

This commit is contained in:
sk 2024-12-02 14:06:15 +08:00
parent fbc14799c1
commit 1477611d4a
1 changed files with 1 additions and 1 deletions

View File

@ -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())
} }