Skip to content

Commit

Permalink
fixed issue #29
Browse files Browse the repository at this point in the history
  • Loading branch information
forestt committed Dec 11, 2016
1 parent 796cc69 commit d01b1af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/UIManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ public IEnumerator LozengeShowAnswers()
/// <param name="answerNumber">number of chosed answer(from 1 to 4)</param>
public void SetFinalAnswer(int answerNumber)
{
lozengePanel.GetComponent<Animator>().enabled = false; // animator doesn't allow to set buttons not interactable

if (answerNumber == 1 || answerNumber == 3)
{
lozengePanel.transform.GetChild(answerNumber + 2).GetComponent<Image>().sprite = lozengeSprites[2];
Expand Down

0 comments on commit d01b1af

Please sign in to comment.