From d9e5b77c46d0b819b8e952d5d3750ef454c0bee9 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 3 Oct 2024 10:22:16 +0100 Subject: [PATCH] Renamed patch to `DisableWelcomeToPVEModeMessagePatch` --- ...meMessagePatch.cs => DisableWelcomeToPVEModeMessagePatch.cs} | 2 +- project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename project/SPT.SinglePlayer/Patches/MainMenu/{PVEModeWelcomeMessagePatch.cs => DisableWelcomeToPVEModeMessagePatch.cs} (90%) diff --git a/project/SPT.SinglePlayer/Patches/MainMenu/PVEModeWelcomeMessagePatch.cs b/project/SPT.SinglePlayer/Patches/MainMenu/DisableWelcomeToPVEModeMessagePatch.cs similarity index 90% rename from project/SPT.SinglePlayer/Patches/MainMenu/PVEModeWelcomeMessagePatch.cs rename to project/SPT.SinglePlayer/Patches/MainMenu/DisableWelcomeToPVEModeMessagePatch.cs index 3007894..5dc542d 100644 --- a/project/SPT.SinglePlayer/Patches/MainMenu/PVEModeWelcomeMessagePatch.cs +++ b/project/SPT.SinglePlayer/Patches/MainMenu/DisableWelcomeToPVEModeMessagePatch.cs @@ -4,7 +4,7 @@ using SPT.Reflection.Patching; namespace SPT.SinglePlayer.Patches.MainMenu { - public class PVEModeWelcomeMessagePatch : ModulePatch + public class DisableWelcomeToPVEModeMessagePatch : ModulePatch { protected override MethodBase GetTargetMethod() { diff --git a/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs b/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs index a5b28fe..8cda941 100644 --- a/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs +++ b/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs @@ -48,7 +48,7 @@ namespace SPT.SinglePlayer new ScavRepAdjustmentPatch().Enable(); // 3.10.0 - new PVEModeWelcomeMessagePatch().Enable(); + new DisableWelcomeToPVEModeMessagePatch().Enable(); new DisableMatchmakerPlayerPreviewButtonsPatch().Enable(); new EnableRefForPVEPatch().Enable(); new EnableRefIntermScreenPatch().Enable();