diff --git a/Assets/Scripts/System/Timer.cs b/Assets/Scripts/System/Timer.cs index 3d38743..ad69996 100644 --- a/Assets/Scripts/System/Timer.cs +++ b/Assets/Scripts/System/Timer.cs @@ -45,7 +45,6 @@ namespace KitsuneCafe private readonly ReactiveProperty started = new(false); private readonly ReactiveProperty paused = new(false); - private Observable stopped => started.Where(KMath.Not).Skip(1); public bool Started => started.Value; public bool Paused => paused.Value; @@ -68,6 +67,8 @@ namespace KitsuneCafe paused.Compose(WhereTrue).Select(_ => false) ); + var stopped = started.Where(KMath.Not).Skip(1); + var timeProvider = GetTimeProvider(timing, timeKind); var totalDuration = GetDuration();