21 lines
459 B
C#
Raw Normal View History

2022-05-14 19:53:00 +01:00
using Aki.Reflection.Patching;
using EFT;
using System.Reflection;
namespace BushWhacker
{
public class Patch : ModulePatch
{
protected override MethodBase GetTargetMethod()
{
return typeof(GameWorld).GetMethod("OnGameStarted", BindingFlags.Public | BindingFlags.Instance);
2022-05-14 19:53:00 +01:00
}
2022-06-11 22:25:07 +01:00
2022-05-14 19:53:00 +01:00
[PatchPostfix]
public static void PatchPostFix()
{
BushWhacker.DisableBushes();
}
}
}