From 0f8a7db56786395341365cd122343ae10c5e4f95 Mon Sep 17 00:00:00 2001 From: Syntriax Date: Thu, 26 Sep 2024 22:59:25 +0300 Subject: [PATCH] fix: EngineTime DeltaTimeFrame --- Engine.Core/EngineTime.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine.Core/EngineTime.cs b/Engine.Core/EngineTime.cs index 54c5655..f038134 100644 --- a/Engine.Core/EngineTime.cs +++ b/Engine.Core/EngineTime.cs @@ -7,5 +7,5 @@ public readonly struct EngineTime(TimeSpan Total, TimeSpan Elapsed) public readonly TimeSpan Total = Total; public readonly TimeSpan Elapsed = Elapsed; - public readonly float DeltaTimeFrame = (float)Elapsed.TotalMilliseconds; + public readonly float DeltaTimeFrame = (float)Elapsed.TotalMilliseconds * .001f; }