Skip to content
Snippets Groups Projects

Fix/4 players

Merged SORGHO NONGMA requested to merge fix/4-players into dev
Compare and
50 files
+ 2273
1891
Preferences
Compare changes
Files
50
@@ -205,7 +205,7 @@ public class Joueur : MonoBehaviour
{
// if it is not this player's turn disable the dice button
float[] timerInfo = client.getTimerInfo(ID_joueur-1);
if (cient.get_ID_tour() + 1 != ID_joueur || hasChosen || timerInfo[0] == 2.0f)
if (client.get_ID_tour() + 1 != ID_joueur || hasChosen || timerInfo[0] == 2.0f)
{
choiceButton.interactable = false;
}
@@ -213,7 +213,7 @@ public class Joueur : MonoBehaviour
{
choiceButton.interactable = true;
}
if (cient.get_ID_tour() + 1 == ID_joueur && gameStarted)
if (client.get_ID_tour() + 1 == ID_joueur && gameStarted)
{
choiceButton.gameObject.SetActive(true);
}