Files
BetterAmongUs/Patches/VersionShowerPatch.cs
T
2024-08-27 16:14:20 -05:00

15 lines
484 B
C#

using HarmonyLib;
namespace BetterAmongUs.Patches;
[HarmonyPatch(typeof(VersionShower))]
public class VersionShowerPatch
{
[HarmonyPatch(nameof(VersionShower.Start))]
[HarmonyPostfix]
public static void Postfix(VersionShower __instance)
{
__instance.text.text = $"<color=#0dff00>♻BetterAmongUs♻ {Main.GetVersionText()}</color> <color=#ababab>~</color> {Utils.GetPlatformName(Main.PlatformData.Platform)} v{Main.AmongUsVersion}";
}
}