diff --git a/Classes/LessonCounter/LessonCounterClass.cs b/Classes/LessonCounter/LessonCounterClass.cs index 66e736a..04d53f9 100644 --- a/Classes/LessonCounter/LessonCounterClass.cs +++ b/Classes/LessonCounter/LessonCounterClass.cs @@ -52,7 +52,7 @@ public Dictionary RemainingLessons foreach ((Subject subject, Time time) in Schedule.Zip(Times, (x, y) => new Tuple(x, y)).ToList()) { // Check that the lesson has not already started - if (time < new Time(DateTime.UtcNow.Hour, DateTime.UtcNow.Minute)) + if (time > new Time(DateTime.UtcNow.Hour, DateTime.UtcNow.Minute)) { // Increment subject counter Remaining[subject]++;