fix: updateRoom

This commit is contained in:
Morgan - 6 Freedom 2024-01-28 02:42:03 +01:00
parent 68a056b3a1
commit 388048553d

View File

@ -62,24 +62,6 @@ public List<Question> GetQuestionsByPlayer(Player player)
return questions;
}
public List<Proposition> GetPropositionsByPlayer(Player player)
{
List<Proposition> propositions = new();
foreach (Question question in GetQuestionList())
{
foreach (Proposition proposition in new List<Proposition>(question.propositions.Values))
{
if (proposition.owner.id == player.id)
{
propositions.Add(proposition);
break;
}
}
}
return propositions;
}
public void SetPlayersAreReady(int _state)
{