mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
21 lines
489 B
C#
21 lines
489 B
C#
![]() |
using System.Reflection;
|
|||
|
using Aki.Reflection.Patching;
|
|||
|
using Aki.Reflection.Utils;
|
|||
|
using EFT;
|
|||
|
|
|||
|
namespace Aki.SinglePlayer.Patches.RaidFix
|
|||
|
{
|
|||
|
public class VoIPTogglerPatch : ModulePatch
|
|||
|
{
|
|||
|
protected override MethodBase GetTargetMethod()
|
|||
|
{
|
|||
|
return typeof(ForceMuteVoIPToggler).GetMethod("Awake", PatchConstants.PrivateFlags);
|
|||
|
}
|
|||
|
|
|||
|
[PatchPrefix]
|
|||
|
private static bool PatchPrefix()
|
|||
|
{
|
|||
|
return false;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|