fix: list by default on waiting

This commit is contained in:
Marine 2024-01-28 03:05:29 +01:00
parent 1e53eb3ae5
commit 5cfb75d135

View File

@ -321,11 +321,10 @@ private void OnRoomUpdate(object sender, ValueChangedEventArgs e)
}
case (int)GameState.WaitingForOtherPlayersToJoin:
{
if (!HomeConnection.activeInHierarchy)
{
CheckIfIAmTheFirst(myRoom.GetPlayerList());
UpdateDisplayedListUser(myRoom.GetPlayerList());
}
CheckIfIAmTheFirst(myRoom.GetPlayerList());
UpdateDisplayedListUser(myRoom.GetPlayerList());
break;
}
case (int)GameState.Explanation:
@ -336,7 +335,7 @@ private void OnRoomUpdate(object sender, ValueChangedEventArgs e)
}
WaitingRoom.SetActive(false);
BeforeStart.SetActive(true);
endOfExplanationDate = DateTime.Now.AddSeconds(3);
endOfExplanationDate = DateTime.Now.AddSeconds(4);
break;
}