From 6753d53582ec3d4cbd627abb2c18ff212e0e8780 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 1 Aug 2024 17:31:50 +0100 Subject: [PATCH] Rename patch from `` to `RedirectClientImageRequestsPatch` --- .../{FileCachePatch.cs => RedirectClientImageRequestsPatch.cs} | 2 +- project/SPT.Custom/SPTCustomPlugin.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename project/SPT.Custom/Patches/{FileCachePatch.cs => RedirectClientImageRequestsPatch.cs} (97%) diff --git a/project/SPT.Custom/Patches/FileCachePatch.cs b/project/SPT.Custom/Patches/RedirectClientImageRequestsPatch.cs similarity index 97% rename from project/SPT.Custom/Patches/FileCachePatch.cs rename to project/SPT.Custom/Patches/RedirectClientImageRequestsPatch.cs index 3d1cfc0..278edb1 100644 --- a/project/SPT.Custom/Patches/FileCachePatch.cs +++ b/project/SPT.Custom/Patches/RedirectClientImageRequestsPatch.cs @@ -12,7 +12,7 @@ namespace SPT.Custom.Patches /// Redirects Trader and quest images to the SPT folder, not the app data /// /// - public class FileCachePatch : ModulePatch + public class RedirectClientImageRequestsPatch : ModulePatch { private static readonly string _sptPath = Path.Combine(Environment.CurrentDirectory, "user", "sptappdata"); diff --git a/project/SPT.Custom/SPTCustomPlugin.cs b/project/SPT.Custom/SPTCustomPlugin.cs index d43fe6d..5e3b2da 100644 --- a/project/SPT.Custom/SPTCustomPlugin.cs +++ b/project/SPT.Custom/SPTCustomPlugin.cs @@ -42,7 +42,7 @@ namespace SPT.Custom // Still need new SaveSettingsToSptFolderPatch().Enable(); new QTEPatch().Enable(); - new FileCachePatch().Enable(); + new RedirectClientImageRequestsPatch().Enable(); new BotSelfEnemyPatch().Enable(); new DisableGamemodeButtonPatch().Enable(); new PMCSpawnParamPatch().Enable();