SHA256
14 lines
334 B
C#
14 lines
334 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.Configuration.ShowHitText;
|
|
}
|
|
}
|
|
} |