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);