From c30ad2f365bb1606a522583218f7c2fd359185b3 Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 23 Jan 2024 15:42:47 +0000 Subject: [PATCH] make `_sptPath` readonly --- project/Aki.Custom/Patches/SettingsLocationPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Aki.Custom/Patches/SettingsLocationPatch.cs b/project/Aki.Custom/Patches/SettingsLocationPatch.cs index 6e786c9..895021a 100644 --- a/project/Aki.Custom/Patches/SettingsLocationPatch.cs +++ b/project/Aki.Custom/Patches/SettingsLocationPatch.cs @@ -11,7 +11,7 @@ namespace Aki.Custom.Patches /// public class SettingsLocationPatch : ModulePatch { - private static string _sptPath = Path.Combine(Environment.CurrentDirectory, "user", "sptSettings"); + private static readonly string _sptPath = Path.Combine(Environment.CurrentDirectory, "user", "sptSettings"); protected override MethodBase GetTargetMethod() {