From e7a3d29af54bfee96a817c036f43480126e79929 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 17 Oct 2020 16:08:41 +0900 Subject: [PATCH] clock: Update a comment --- internal/clock/clock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/clock/clock.go b/internal/clock/clock.go index 4289e5380..4682c5e7e 100644 --- a/internal/clock/clock.go +++ b/internal/clock/clock.go @@ -81,7 +81,7 @@ func calcCountFromTPS(tps int64, now int64) int { count = int(diff * tps / int64(time.Second)) } - // Stabilize FPS. + // Stabilize the count. // Without this adjustment, count can be unstable like 0, 2, 0, 2, ... if count == 0 && (int64(time.Second)/tps/2) < diff { count = 1