Fix skip button being broken

This commit is contained in:
wanderingpix committed 2026-08-21 19:30:24 +01:00
1 parent 06d62da24d
commit 4b7f17fa30
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ internal static class MeetingHudPatches
return false;
JudgeRole? judgeRole = PlayerControl.LocalPlayer.Data.Role.TryCast<JudgeRole>();
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);