From 28ef337691a5f3c32cb174e7068d71853836a64f Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Sat, 7 Mar 2020 12:40:21 -0500 Subject: [PATCH] make field readonly --- Shared/FpsCounter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/FpsCounter.cs b/Shared/FpsCounter.cs index fff76f7..3e60ef8 100644 --- a/Shared/FpsCounter.cs +++ b/Shared/FpsCounter.cs @@ -2,8 +2,8 @@ using System; namespace SemiColinGames { class FpsCounter { + private readonly int[] frameTimes = new int[60]; private double fps = 0; - private int[] frameTimes = new int[60]; private int idx = 0; public int Fps {