mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
changed DidVote to check VotesRemaining instead of Votes
This commit is contained in:
1 parent
e7fba386aa
commit
c0c8fa08ff
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user