From 448a55081b524886e7cd3d700461ab9f5d53934c Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 16 Mar 2021 19:10:25 +0100 Subject: [PATCH] minor cleanup --- Coroutine/ActiveCoroutine.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Coroutine/ActiveCoroutine.cs b/Coroutine/ActiveCoroutine.cs index ef33d41..5604593 100644 --- a/Coroutine/ActiveCoroutine.cs +++ b/Coroutine/ActiveCoroutine.cs @@ -5,7 +5,7 @@ using System.Diagnostics; namespace Coroutine { /// /// A reference to a currently running coroutine. - /// This is returned by . + /// This is returned by . /// public class ActiveCoroutine : IComparable { @@ -99,9 +99,8 @@ namespace Coroutine { var result = this.enumerator.MoveNext(); this.stopwatch.Stop(); this.TotalMoveNextTime += this.stopwatch.Elapsed; - if (this.stopwatch.Elapsed > this.MaxMoveNextTime) { + if (this.stopwatch.Elapsed > this.MaxMoveNextTime) this.MaxMoveNextTime = this.stopwatch.Elapsed; - } this.MoveNextCount++; if (!result) {