Skip to content

Commit

Permalink
Fix GameEnded Detection (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deaod committed Dec 31, 2023
1 parent 61168f8 commit 2d00c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/MutVoteSys.uc
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ function AnnounceCountdown(int SecondsLeft) {
}

function CheckGameEnded() {
if (GameState >= GS_GameEnded || Level.Game.GameReplicationInfo.GameEndedComments == "")
if (GameState >= GS_GameEnded || Level.Game.bGameEnded == false)
// mid-game voting or not ended yet
return;

Expand Down

0 comments on commit 2d00c38

Please sign in to comment.