Skip to content

Commit

Permalink
fix: pass along lazer input (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxOhn authored Dec 5, 2024
1 parent cc44215 commit f103a91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/difficulty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ impl PyDifficulty {
difficulty = difficulty.hardrock_offsets(hardrock_offsets);
}

if let Some(lazer) = self.lazer {
difficulty = difficulty.lazer(lazer);
}

difficulty
}
}
4 changes: 4 additions & 0 deletions src/performance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ impl PyPerformance {
difficulty = difficulty.hardrock_offsets(hardrock_offsets);
}

if let Some(lazer) = self.lazer {
difficulty = difficulty.lazer(lazer);
}

difficulty
}
}
Expand Down

0 comments on commit f103a91

Please sign in to comment.