From 45e23b9924c38250e38d9adc9d7b57459fdce84b Mon Sep 17 00:00:00 2001 From: That-One-Nerd Date: Thu, 11 May 2023 17:11:17 -0400 Subject: [PATCH] Added some comments. --- SrcMod/Shell/ObjectModels/Config.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SrcMod/Shell/ObjectModels/Config.cs b/SrcMod/Shell/ObjectModels/Config.cs index c213c25..fc50b46 100644 --- a/SrcMod/Shell/ObjectModels/Config.cs +++ b/SrcMod/Shell/ObjectModels/Config.cs @@ -22,6 +22,7 @@ public class Config private static Config p_applied; private static Changes? p_changes; + // These variables should only exist in the Config class so they aren't marked as shared. private static string p_steamLocation; static Config() @@ -86,6 +87,8 @@ public class Config } p_steamLocation = (string)key.GetValue("SteamPath")!; + // Assign config variables. + string gameDirDataPath = Path.Combine(p_steamLocation, @"steamapps\libraryfolders.vdf"); VkvSerializer serializer = new(new()