Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 4c029da

Browse files
committed
Update TimeScaleWidget.cs
1 parent 3d61011 commit 4c029da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UI/Widgets/TimeScaleWidget.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void Update()
3636
{
3737
// Fallback in case Time.timeScale patch failed for whatever reason
3838
if (locked)
39-
Time.timeScale = desiredTime;
39+
SetTimeScale(desiredTime);
4040

4141
if (!timeInput.Component.isFocused)
4242
timeInput.Text = Time.timeScale.ToString("F2");

0 commit comments

Comments
 (0)