diff --git a/Assets/Scripts/VotingPage.cs b/Assets/Scripts/VotingPage.cs index 86bdfc8..b77157b 100644 --- a/Assets/Scripts/VotingPage.cs +++ b/Assets/Scripts/VotingPage.cs @@ -184,7 +184,8 @@ private void OnQuestionDataUpdate(object sender, ValueChangedEventArgs _question UpdatePropositionVoters(proposition2, currentQuestion.propositions[1]); } - if (RoomManager.Instance.myRoom.NumbersOfVotersForQuestion(currentQuestion) >= currentPlayers.Count) + //every players BUT the one who have created the propositions + if (RoomManager.Instance.myRoom.NumbersOfVotersForQuestion(currentQuestion) >= currentPlayers.Count - 2) { allPlayersHaveVotedForCurrentQuestion = true; }