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

21 lines
487 B
C#
Raw Normal View History

2023-03-03 18:52:31 +00:00
using System.Reflection;
2024-05-21 19:10:17 +01:00
using SPT.Reflection.Patching;
2023-03-03 18:52:31 +00:00
using EFT;
using HarmonyLib;
2023-03-03 18:52:31 +00:00
2024-05-21 19:10:17 +01:00
namespace SPT.SinglePlayer.Patches.RaidFix
2023-03-03 18:52:31 +00:00
{
public class VoIPTogglerPatch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return AccessTools.Method(typeof(ForceMuteVoIPToggler), nameof(ForceMuteVoIPToggler.Awake));
2023-03-03 18:52:31 +00:00
}
[PatchPrefix]
private static bool PatchPrefix()
{
return false;
}
}
}