diff --git a/project/SPT.SinglePlayer/Patches/RaidFix/VoIPTogglerPatch.cs b/project/SPT.SinglePlayer/Patches/RaidFix/VoIPTogglerPatch.cs deleted file mode 100644 index b3d8cba..0000000 --- a/project/SPT.SinglePlayer/Patches/RaidFix/VoIPTogglerPatch.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Reflection; -using SPT.Reflection.Patching; -using EFT; -using HarmonyLib; - -namespace SPT.SinglePlayer.Patches.RaidFix -{ - public class VoIPTogglerPatch : ModulePatch - { - protected override MethodBase GetTargetMethod() - { - return AccessTools.Method(typeof(ForceMuteVoIPToggler), nameof(ForceMuteVoIPToggler.Awake)); - } - - [PatchPrefix] - private static bool PatchPrefix() - { - return false; - } - } -} \ No newline at end of file diff --git a/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs b/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs index 99d6f6d..4c5c8ac 100644 --- a/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs +++ b/project/SPT.SinglePlayer/SPTSingleplayerPlugin.cs @@ -26,7 +26,6 @@ namespace SPT.SinglePlayer new TinnitusFixPatch().Enable(); new SmokeGrenadeFuseSoundFixPatch().Enable(); new EmptyInfilFixPatch().Enable(); - new VoIPTogglerPatch().Enable(); new ScavExperienceGainPatch().Enable(); new MainMenuControllerPatch().Enable(); new HealthControllerPatch().Enable();