From c0c8fa08ff5a9a78344f3b3604dc19e2322a126a Mon Sep 17 00:00:00 2001 From: xChipseq Date: Mon, 4 Aug 2025 20:58:24 +0200 Subject: [PATCH] changed DidVote to check VotesRemaining instead of Votes --- MiraAPI/Patches/Voting/DummyBehaviourPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiraAPI/Patches/Voting/DummyBehaviourPatch.cs b/MiraAPI/Patches/Voting/DummyBehaviourPatch.cs index 3ebaf06..04f3461 100644 --- a/MiraAPI/Patches/Voting/DummyBehaviourPatch.cs +++ b/MiraAPI/Patches/Voting/DummyBehaviourPatch.cs @@ -66,6 +66,6 @@ internal static class DummyBehaviourPatches private static bool DidVote(this DummyBehaviour dummy) { var dummyVoteData = dummy.myPlayer.GetVoteData(); - return dummyVoteData.Votes.Count > 0; + return dummyVoteData.VotesRemaining > 0; } }