From 388048553d86f06932b08f310cbdf921e1a350ea Mon Sep 17 00:00:00 2001 From: Morgan - 6 Freedom Date: Sun, 28 Jan 2024 02:42:03 +0100 Subject: [PATCH] fix: updateRoom --- Assets/Scripts/DatabaseClasses/Room.cs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Assets/Scripts/DatabaseClasses/Room.cs b/Assets/Scripts/DatabaseClasses/Room.cs index d8c782a..772cab7 100644 --- a/Assets/Scripts/DatabaseClasses/Room.cs +++ b/Assets/Scripts/DatabaseClasses/Room.cs @@ -62,24 +62,6 @@ public List GetQuestionsByPlayer(Player player) return questions; } - public List GetPropositionsByPlayer(Player player) - { - List propositions = new(); - - foreach (Question question in GetQuestionList()) - { - foreach (Proposition proposition in new List(question.propositions.Values)) - { - if (proposition.owner.id == player.id) - { - propositions.Add(proposition); - break; - } - } - } - - return propositions; - } public void SetPlayersAreReady(int _state) {