From c19f96ea376377dbe8784a1f4d08f2d5c85706ee Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Thu, 19 Mar 2026 08:48:24 +0100 Subject: [PATCH] [chore:] added results to Student.Result --- crafter.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/crafter.cs b/crafter.cs index 3a0e36b..89f0363 100644 --- a/crafter.cs +++ b/crafter.cs @@ -323,6 +323,17 @@ public class CourseCrafter MainWindow.Instance.TbResultLog.Text += e + "\n"; } + foreach (var course in GeneratedCourses) + { + foreach (var student in Settings.Instance.Students) + { + if (course.Instance.Students.Contains(student.ID)) + { + student.Result[course.Semester-1] = course.Instance.Sport.Name; + } + } + } + } public static string GenerateStatistics()