From 81255a5e1e674555fc7ad89e78f578b45ca5d3a5 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 24 Dec 2022 12:32:18 -0500 Subject: [PATCH] GORP!!! --- NewHorizons/External/NewHorizonsData.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;