From 22ed0539fa6bb61fc7edad3b573b4b4d56830de6 Mon Sep 17 00:00:00 2001 From: The Doctor Date: Wed, 3 Jun 2020 08:59:36 +0100 Subject: [PATCH] Update TickManager.cs --- src/TickManager.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;