diff --git a/Engine.Systems/Time/TickerBehaviour.cs b/Engine.Systems/Time/TickerBehaviour.cs index c20acb7..6f928e4 100644 --- a/Engine.Systems/Time/TickerBehaviour.cs +++ b/Engine.Systems/Time/TickerBehaviour.cs @@ -20,12 +20,12 @@ public class TickerBehaviour : StopwatchBehaviour, ITicker { base.OnUpdate(); - if (Time < nextTick) - return; - - nextTick += Period; - TickCounter++; - OnTick?.Invoke(this); + while (Time > nextTick) + { + nextTick += Period; + TickCounter++; + OnTick?.Invoke(this); + } } protected override void OnFinalize()