diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-06-06 13:52:11 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-06-06 13:52:11 -0400 |
commit | 78ac9905e222c26758e95b098d2e3a3e74a48839 (patch) | |
tree | 157d17e4776f1e1389051804acd7c9b5ccebe6f6 | |
parent | f9d209b21596e5aac09a7743385065803749f6a0 (diff) | |
download | lingo-ap-tracker-78ac9905e222c26758e95b098d2e3a3e74a48839.tar.gz lingo-ap-tracker-78ac9905e222c26758e95b098d2e3a3e74a48839.tar.bz2 lingo-ap-tracker-78ac9905e222c26758e95b098d2e3a3e74a48839.zip |
Fixed LEVEL 2 and THE MASTER calculation
-rw-r--r-- | src/tracker_state.cpp | 4 |
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 | } |