Compare commits

..

No commits in common. "b5e8c910a2834085dfe43c987389f67efea673b5" and "684e53d599afcdc28b15a30fda61dec64b3cef70" have entirely different histories.

View File

@ -6,7 +6,6 @@
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using TMPro;
using Unity.VisualScripting;
using UnityEngine;
/// <summary>
@ -490,17 +489,6 @@ public void onClickNewPlayers()
}
});
}
public void OnClickProposition(int propositionNumber)
{
int currentQuestionId = Int32.Parse(myRoom.currentQuestionId);
List<string> voters = myRoom.questions[currentQuestionId].propositions[propositionNumber].voters.ToList<string>();
voters.Add(currentPlayer.id);
myOnlineRoom.Child("questions").Child(myRoom.currentQuestionId.ToString()).Child("propositions").Child(propositionNumber.ToString()).Child("voters").SetValueAsync(voters);
}
}
public enum GameState