From a361afbcbf46fd1c98c6dcbbc752abff68d4b34a Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Fri, 30 May 2025 17:12:03 -0400 Subject: [PATCH] add comment about meetinghud inline issue --- MiraAPI/Patches/Voting/MeetingHudPatches.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MiraAPI/Patches/Voting/MeetingHudPatches.cs b/MiraAPI/Patches/Voting/MeetingHudPatches.cs index 2dceb0b..919170d 100644 --- a/MiraAPI/Patches/Voting/MeetingHudPatches.cs +++ b/MiraAPI/Patches/Voting/MeetingHudPatches.cs @@ -205,6 +205,7 @@ internal static class MeetingHudPatches // TODO: figure out a way to do host-authorization since right now any player can send RpcCastVote [HarmonyPrefix] [HarmonyPatch(nameof(MeetingHud.CmdCastVote))] + // Although this method is inlined in MeetingHud.Confirm, the next patch fixes that. public static bool CmdCastVoteOverridePatch(MeetingHud __instance, byte playerId, byte suspectIdx) { VotingUtils.RpcCastVote(PlayerControl.LocalPlayer, playerId, suspectIdx);