diff --git a/src/TickManager.cs b/src/TickManager.cs index 6f330a0..72e3698 100644 --- a/src/TickManager.cs +++ b/src/TickManager.cs @@ -57,11 +57,11 @@ namespace TickManager /// Whether the application should process the next tick or not public bool CanTick() { - double internalMspt = tc.Tick(); - bool canTick = internalMspt > msptInternal; + double tickTime = tc.Tick(); + bool canTick = tickTime > msptInternal; if (canTick) { - MSPT = internalMspt; + MSPT = tickTime; tc.Reset(); } return canTick;