SHA256
14 lines
371 B
C#
14 lines
371 B
C#
using ADOFAIRenderer.Component;
|
|
using HarmonyLib;
|
|
|
|
namespace ADOFAIRenderer.Patch
|
|
{
|
|
[HarmonyPatch(typeof(scrHitTextManager), "ShowHitText")]
|
|
public class ShowHitTextPatch
|
|
{
|
|
public static bool Prefix()
|
|
{
|
|
return !RenderMod.IsRendering || (RenderManager.Instance && RenderManager.Instance.Configuration.ShowHitText);
|
|
}
|
|
}
|
|
} |