using Aki.Reflection.Patching; using EFT; using System.Reflection; namespace ScopeTweaks { internal class CalculateScaleValueByFovPatch : ModulePatch { protected override MethodBase GetTargetMethod() { return typeof(Player).GetMethod("CalculateScaleValueByFov"); } [PatchPostfix] public static void PatchPostfix(ref float ___float_10) { ___float_10 = 1.0f; } } }