Merge branch 'main' of ssh://patema.crystalyx.net:2222/GameJams/Snaparazzi
This commit is contained in:
commit
0876f685d8
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user