From 015305131da916a8fd7e9a4034f7f153744ad293 Mon Sep 17 00:00:00 2001 From: Fangh Date: Sun, 28 Jan 2024 17:54:19 +0100 Subject: [PATCH] fix --- Assets/Scripts/VotingPage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/VotingPage.cs b/Assets/Scripts/VotingPage.cs index 9a97463..5ddb69f 100644 --- a/Assets/Scripts/VotingPage.cs +++ b/Assets/Scripts/VotingPage.cs @@ -146,7 +146,7 @@ private void UpdateVoters() if (currentQuestion.propositions[1] != null) { List playersThatHasVotedForSecondProposition = new List(); - if (currentQuestion.propositions[0].voters != null) + if (currentQuestion.propositions[1].voters != null) { foreach (string playerId in currentQuestion.propositions[1].voters) {