Fix missing TextAsset + other panel use + double use of 'Slecht' sign
This commit is contained in:
@@ -402,7 +402,7 @@ public class CoursesController : AbstractFeedback
|
||||
if (signPredictor != null && signPredictor.learnableProbabilities != null &&
|
||||
currentSign != null && signPredictor.learnableProbabilities.ContainsKey(currentSign))
|
||||
{
|
||||
Debug.Log($"{signPredictor.learnableProbabilities.Aggregate("", (t, e) => $"{t}{e.Key}={e.Value}, ")}");
|
||||
//Debug.Log($"{signPredictor.learnableProbabilities.Aggregate("", (t, e) => $"{t}{e.Key}={e.Value}, ")}");
|
||||
float accCurrentSign = signPredictor.learnableProbabilities[currentSign];
|
||||
|
||||
// Get highest predicted sign
|
||||
@@ -499,7 +499,8 @@ public class CoursesController : AbstractFeedback
|
||||
if (current == predicted)
|
||||
{
|
||||
hasAnswered = true;
|
||||
progress.UpdateLearnable(predicted, 1.5f);
|
||||
var p = progress.learnables.Find((l) => l.name.ToUpper().Replace(" ", "-") == predicted);
|
||||
progress.UpdateLearnable(p.name, 1.5f);
|
||||
confettiAnimation.SetTrigger("Display Confetti");
|
||||
StartCoroutine(WaitNextSign());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user