Merge branch 'main' of ssh://patema.crystalyx.net:2222/GameJams/Snaparazzi

This commit is contained in:
Michel Roux 2024-01-28 16:32:10 +01:00
commit 0876f685d8

View File

@ -102,7 +102,7 @@ private void Update()
{ {
if (string.IsNullOrEmpty(p.photoUrl)) if (string.IsNullOrEmpty(p.photoUrl))
{ {
Debug.Log($"player {labelByID.Key} proposition URL : {p.photoUrl}"); //Debug.Log($"player {labelByID.Key} proposition URL : {p.photoUrl}");
playerHasAnswerBoth = false; playerHasAnswerBoth = false;
} }
} }
@ -110,6 +110,7 @@ private void Update()
//if its the case //if its the case
if (playerHasAnswerBoth) if (playerHasAnswerBoth)
{ {
Debug.Log($"player {labelByID.Key} has made 2 propositions", this);
//put player label in green if finished //put player label in green if finished
labelByID.Value.color = Color.green; labelByID.Value.color = Color.green;
} }