1
0
mirror of synced 2024-09-23 18:48:22 +02:00
TaikoModStuff/FontChanger.cs

16 lines
374 B
C#
Raw Permalink Normal View History

2022-01-27 18:36:07 +01:00
using HarmonyLib;
namespace TaikoModStuff
{
internal class FontChanger
{
[HarmonyPatch(typeof(WordDataManager), "GetFontType")]
[HarmonyPostfix]
static void GetFontType_Patched(ref int __result)
{
if (Plugin.configForceFontChange.Value)
__result = 0; // Force the font to the JP one.
2022-01-27 18:36:07 +01:00
}
}
}