From 4b7f17fa306315d45dc0daa5f35318091bbf7632 Mon Sep 17 00:00:00 2001 From: wanderingpix Date: Fri, 21 Aug 2026 19:30:24 +0100 Subject: [PATCH] Fix skip button being broken --- MiraAPI/Patches/Voting/MeetingHudPatches.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiraAPI/Patches/Voting/MeetingHudPatches.cs b/MiraAPI/Patches/Voting/MeetingHudPatches.cs index fc7f533..efe167d 100644 --- a/MiraAPI/Patches/Voting/MeetingHudPatches.cs +++ b/MiraAPI/Patches/Voting/MeetingHudPatches.cs @@ -58,7 +58,7 @@ internal static class MeetingHudPatches return false; JudgeRole? judgeRole = PlayerControl.LocalPlayer.Data.Role.TryCast(); bool flag = judgeRole && PlayerControl.LocalPlayer.PlayerId != __instance.PlayerId; - __instance.JudgeOverruleButton.gameObject.SetActive(flag); + __instance.JudgeOverruleButton?.gameObject.SetActive(flag); if (__instance.VoteComplete || !__instance.Parent.Select((byte) __instance.PlayerId)) return false; __instance.Buttons.SetActive(true);