0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 09:50:43 -05:00

make _sptPath readonly

This commit is contained in:
Dev 2024-01-23 15:42:47 +00:00
parent 060dbcd585
commit c30ad2f365

View File

@ -11,7 +11,7 @@ namespace Aki.Custom.Patches
/// </summary> /// </summary>
public class SettingsLocationPatch : ModulePatch 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() protected override MethodBase GetTargetMethod()
{ {