fix REALLY stupid bug

This commit is contained in:
XtraCube committed 2025-03-13 09:23:26 -04:00
1 parent fb40664bd0
commit 1462061df9
1 file changed
+1 -1
+1 -1
View File
@@ -173,7 +173,7 @@ internal static class MeetingHudPatches
[HarmonyPatch(nameof(MeetingHud.CheckForEndVoting))]
public static bool EndCheck(MeetingHud __instance)
{
var shouldEnd = Helpers.GetAlivePlayers().Exists(plr => plr.GetVoteData().VotesRemaining > 0);
var shouldEnd = !Helpers.GetAlivePlayers().Exists(plr => plr.GetVoteData().VotesRemaining > 0);
var checkEndEvent = new CheckForEndVotingEvent(shouldEnd);
MiraEventManager.InvokeEvent(checkEndEvent);