2022-06-11 22:25:07 +01:00

22 lines
478 B
C#

using Aki.Reflection.Patching;
using EFT;
using System.Reflection;
using UnityEngine;
namespace BushWhacker
{
public class Patch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return typeof(GameWorld).GetMethod("OnGameStarted", BindingFlags.Public | BindingFlags.Instance);
}
[PatchPostfix]
public static void PatchPostFix()
{
BushWhacker.DisableBushes();
}
}
}