mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
actually fix meetinghud vote issue
This commit is contained in:
1 parent
bd0aa68cb8
commit
aef4d6daf1
1 file changed
+4
-4
@@ -41,21 +41,21 @@ internal static class MeetingHudPatches
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(nameof(MeetingHud.OnDestroy))]
|
||||
public static void MeetingHudOnDestroyPatch(MeetingHud __instance)
|
||||
public static void OnDestroyPatch(MeetingHud __instance)
|
||||
{
|
||||
MiraEventManager.InvokeEvent(new EndMeetingEvent(__instance));
|
||||
}
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(nameof(MeetingHud.VotingComplete))]
|
||||
public static void MeetingHudVotingCompletePatch(MeetingHud __instance)
|
||||
public static void VotingCompletePatch(MeetingHud __instance)
|
||||
{
|
||||
MiraEventManager.InvokeEvent(new VotingCompleteEvent(__instance));
|
||||
}
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(nameof(MeetingHud.ForceSkipAll))]
|
||||
public static void MeetingHudForceSkipAllPatch(MeetingHud __instance)
|
||||
public static void ForceSkipAllPatch(MeetingHud __instance)
|
||||
{
|
||||
foreach (var plr in PlayerControl.AllPlayerControls)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user