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()