fix: all player have voted = all player - 2
This commit is contained in:
parent
11b016370d
commit
f31f41ac8b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user