Skip to content

Commit

Permalink
decided to always add 1 second even on skip cutscenes if they happen …
Browse files Browse the repository at this point in the history
…too fast
  • Loading branch information
blegas78 committed May 28, 2021
1 parent 0bcd79e commit fcfb9f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TLOU2/tlou2-60fps/tlou2/script.asl
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ update
// } else {
millisecondsToAdd = 1000-vars.timerModel.CurrentState.CurrentTime.GameTime.Milliseconds;
// }
if(millisecondsToAdd < 1000) {
//if(millisecondsToAdd < 1000) {
// vars.ticksForTimeCorrection += millisecondsToAdd-9;
vars.timerModel.CurrentState.SetGameTime(vars.timerModel.CurrentState.CurrentTime.GameTime + new TimeSpan( 0, 0, 0, 0, millisecondsToAdd) );
}
//}
vars.ticksForTimeCorrection = vars.timerModel.CurrentState.CurrentTime.GameTime.TotalMilliseconds + 500;
}

Expand Down

0 comments on commit fcfb9f5

Please sign in to comment.