mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
18 lines
552 B
C#
18 lines
552 B
C#
using HarmonyLib;
|
|
|
|
namespace EHR;
|
|
|
|
internal class GuardAngelPatch
|
|
{
|
|
[HarmonyPatch(typeof(MeetingIntroAnimation), nameof(MeetingIntroAnimation.Start))]
|
|
public static class ProtectedRecentlyPatch
|
|
{
|
|
public static bool Prefix(MeetingIntroAnimation __instance)
|
|
{
|
|
__instance.ProtectedRecently.SetActive(false);
|
|
__instance.ProtectedRecently.transform.localPosition = new(100f, 100f, 100f);
|
|
__instance.ProtectedRecentlySound = new();
|
|
return true;
|
|
}
|
|
}
|
|
} |