about summary refs log tree commit diff stats
path: root/src/tracker_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracker_state.cpp')
-rw-r--r--src/tracker_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tracker_state.cpp b/src/tracker_state.cpp index faf74cc..187a4a8 100644 --- a/src/tracker_state.cpp +++ b/src/tracker_state.cpp
@@ -386,7 +386,7 @@ class StateCalculator {
386 (*report)["Mastery"] = can_mastery; 386 (*report)["Mastery"] = can_mastery;
387 } 387 }
388 388
389 if (can_mastery && final_decision != kNo) { 389 if (!can_mastery && final_decision != kNo) {
390 final_decision = kMaybe; 390 final_decision = kMaybe;
391 } 391 }
392 } 392 }
@@ -410,7 +410,7 @@ class StateCalculator {
410 (*report)[report_name] = can_level2; 410 (*report)[report_name] = can_level2;
411 } 411 }
412 412
413 if (can_level2 && final_decision != kNo) { 413 if (!can_level2 && final_decision != kNo) {
414 final_decision = kMaybe; 414 final_decision = kMaybe;
415 } 415 }
416 } 416 }