hand merging
This commit is contained in:
parent
c33825d600
commit
572e9e1e15
@ -285,9 +285,9 @@ public void HostHasStartedGame()
|
|||||||
public void GeneratePrompts()
|
public void GeneratePrompts()
|
||||||
{
|
{
|
||||||
System.Random rnd = new();
|
System.Random rnd = new();
|
||||||
List<Prompt> prompts = promptList.prompts.OrderBy(x => rnd.Next()).Take(myRoom.players.Count() * 2).ToList();
|
List<Prompt> prompts = promptList.prompts.OrderBy(x => rnd.Next()).Take(myRoom.players.Count()).ToList();
|
||||||
List<Player> fullPlayers = myRoom.players.Values.ToList().Concat(myRoom.players.Values.ToList()).OrderBy(x => rnd.Next()).ToList();
|
List<Player> players = myRoom.players.Values.ToList().OrderBy(x => rnd.Next()).ToList();
|
||||||
Dictionary<string, Question> questions = new Dictionary<string, Question>();
|
Dictionary<string, Question> questions = new();
|
||||||
|
|
||||||
for (int i = 0; i < players.Count(); i++)
|
for (int i = 0; i < players.Count(); i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user