From 4c029dad90dad1da1e39d265b823d89c0e0ae49a Mon Sep 17 00:00:00 2001 From: Sinai <49360850+sinai-dev@users.noreply.github.com> Date: Wed, 11 May 2022 22:49:28 +1000 Subject: [PATCH] Update TimeScaleWidget.cs --- src/UI/Widgets/TimeScaleWidget.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Widgets/TimeScaleWidget.cs b/src/UI/Widgets/TimeScaleWidget.cs index bab6534..1bd2808 100644 --- a/src/UI/Widgets/TimeScaleWidget.cs +++ b/src/UI/Widgets/TimeScaleWidget.cs @@ -36,7 +36,7 @@ namespace UnityExplorer.UI.Widgets { // Fallback in case Time.timeScale patch failed for whatever reason if (locked) - Time.timeScale = desiredTime; + SetTimeScale(desiredTime); if (!timeInput.Component.isFocused) timeInput.Text = Time.timeScale.ToString("F2");