add comment about meetinghud inline issue

This commit is contained in:
XtraCube committed 2025-05-30 17:12:03 -04:00
1 parent 24cdac0243
commit a361afbcbf
1 file changed
+1
@@ -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);