This commit is contained in:
Nick 2022-12-24 12:32:18 -05:00
parent bdc4c4d170
commit 81255a5e1e

View File

@ -11,7 +11,7 @@ namespace NewHorizons.External
private static string _activeProfileName; private static string _activeProfileName;
private static readonly string FileName = "save.json"; 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 // This is its own method so it can be patched by NH-QSB compat
public static string GetProfileName() => StandaloneProfileManager.SharedInstance?.currentProfile?.profileName; public static string GetProfileName() => StandaloneProfileManager.SharedInstance?.currentProfile?.profileName;