Skip to content

Commit

Permalink
Fix the poor condition didn't have to followed a normal condition issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tnze committed Oct 11, 2024
1 parent 405e929 commit 9416fc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src-libs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ pub fn simulate_one_step(
status.condition = match status.condition {
Condition::Good if !force_success => Condition::Normal,
Condition::Excellent if !force_success => Condition::Poor,
Condition::Poor => Condition::Normal,
Condition::GoodOmen => Condition::Good,
_ => {
ConditionIterator::new(
Expand Down

0 comments on commit 9416fc1

Please sign in to comment.