fix: end buttons were displayed both for first player
This commit is contained in:
parent
e254385459
commit
d8cb7335b2
@ -393,7 +393,7 @@ private void OnNewGameState()
|
||||
VotePicture.SetActive(false);
|
||||
WaitingOtherPlayers.SetActive(false);
|
||||
endGameFirstPlayer.SetActive(CheckIfIAmTheFirst(myRoom.GetPlayerList()));
|
||||
endGameOtherPlayers.SetActive(CheckIfIAmTheFirst(myRoom.GetPlayerList()));
|
||||
endGameOtherPlayers.SetActive(!CheckIfIAmTheFirst(myRoom.GetPlayerList()));
|
||||
EndGame.SetActive(true);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user