From 42e5059bd96df01082289f45abc81db1f2421a20 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Tue, 4 Jan 2022 16:18:51 +0100 Subject: [PATCH] add documentation for cache variable --- AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs index f5b633a..14c7713 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.UI.cs @@ -90,6 +90,9 @@ namespace AM2RLauncher /// readonly static private bool isInternetThere = Helpers.HelperMethods.IsConnectedToInternet(); + /// + /// Caches the result of so that we don't extract and verify it too often. + /// static private bool? isAM2R11InstalledCache = null; public MainForm()