SHA256
15 lines
423 B
C#
15 lines
423 B
C#
using ADOFAIRenderer.Core;
|
|
using HarmonyLib;
|
|
|
|
namespace ADOFAIRenderer.Patch.Game
|
|
{
|
|
[HarmonyPatch(typeof(scrHitTextManager), "ShowHitText")]
|
|
// ReSharper disable once InconsistentNaming
|
|
public class scrHitTextManagerPatch
|
|
{
|
|
public static bool Prefix()
|
|
{
|
|
return !RenderManager.IsActive || RenderManager.Instance is { Configuration: { ShowJudgementText: true } };
|
|
}
|
|
}
|
|
} |