Resolve WES-95 "User progress"
This commit is contained in:
@@ -150,7 +150,7 @@ public class TemplateCourse : MonoBehaviour
|
||||
|
||||
// Create entry in current user for keeping track of progress
|
||||
user = userList.GetCurrentUser();
|
||||
progress = user.courses.Find((p) => p != null && p.Get<CourseIndex>("courseIndex") == course.index);
|
||||
progress = user.GetCourseProgress(course.index);
|
||||
if (progress == null)
|
||||
{
|
||||
progress = new Progress();
|
||||
|
||||
Reference in New Issue
Block a user