using ADOFAIRenderer.Core; using HarmonyLib; namespace ADOFAIRenderer.Patch { [HarmonyPatch(typeof(scrHitTextManager), "ShowHitText")] public class ShowHitTextPatch { public static bool Prefix() { return !RenderManager.IsActive || RenderManager.Instance is { Configuration: { ShowHitText: true } }; } } }