diff --git a/NewHorizons/External/NewHorizonsData.cs b/NewHorizons/External/NewHorizonsData.cs index 11959f25..18de7b8b 100644 --- a/NewHorizons/External/NewHorizonsData.cs +++ b/NewHorizons/External/NewHorizonsData.cs @@ -11,7 +11,7 @@ namespace NewHorizons.External private static string _activeProfileName; private static readonly string FileName = "save.json"; - private static object _lock; + private static object _lock = new(); // This is its own method so it can be patched by NH-QSB compat public static string GetProfileName() => StandaloneProfileManager.SharedInstance?.currentProfile?.profileName;