Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
szylis committed Feb 14, 2024
1 parent 53d251d commit c40a3d6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Assets/AWSIM/Scripts/Clock/Scripts/TimeScaleProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ public static void DoUpdate()
{
lock(lockObject)
{
if (Mathf.Abs(Time.timeScale - timeScale) > 0.01f)
{
timeScale = Time.timeScale;
}
timeScale = Time.timeScale;
}
}

Expand Down

0 comments on commit c40a3d6

Please sign in to comment.