diff --git a/src/DotRecast.Recast.Demo/RecastDemo.cs b/src/DotRecast.Recast.Demo/RecastDemo.cs index f3e446e..33d28e6 100644 --- a/src/DotRecast.Recast.Demo/RecastDemo.cs +++ b/src/DotRecast.Recast.Demo/RecastDemo.cs @@ -525,7 +525,7 @@ public class RecastDemo timeAcc -= DELTA_TIME; if (simIter < 5 && sample != null) { - toolsUI.handleUpdate((float)dt); + toolsUI.handleUpdate(DELTA_TIME); } simIter++;