From ba9f08189484e1e85de88fbf5d602c0169960436 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 28 Jan 2024 03:06:28 +0100 Subject: [PATCH] fix: algo generatePrompts --- Assets/Scripts/RoomManager.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/RoomManager.cs b/Assets/Scripts/RoomManager.cs index 164e17f..98ce541 100644 --- a/Assets/Scripts/RoomManager.cs +++ b/Assets/Scripts/RoomManager.cs @@ -302,7 +302,9 @@ public void GeneratePrompts() creationDate = DateTime.Now.ToOADate() }); - for (int i = 1; i < fullPlayers.Count(); i++) + fullPlayers.RemoveAt(0); + + for (int i = 0; i < fullPlayers.Count(); i++) { Player secondPlayer = fullPlayers[i];