mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-12 20:50:44 -05:00
VoipToggler no longer needed
This commit is contained in:
parent
b7f487bbb6
commit
ffb29f8b96
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user