From aef4d6daf1d9ffec46a3d58f3ea0fab18352efe3 Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Fri, 4 Apr 2025 13:08:35 -0400 Subject: [PATCH] actually fix meetinghud vote issue --- MiraAPI/Patches/Voting/MeetingHudPatches.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MiraAPI/Patches/Voting/MeetingHudPatches.cs b/MiraAPI/Patches/Voting/MeetingHudPatches.cs index dc5f02b..d873f56 100644 --- a/MiraAPI/Patches/Voting/MeetingHudPatches.cs +++ b/MiraAPI/Patches/Voting/MeetingHudPatches.cs @@ -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) {