mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
fix REALLY stupid bug
This commit is contained in:
1 parent
fb40664bd0
commit
1462061df9
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user