Skip to content

Commit

Permalink
doc: add small tick hit explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxOhn committed Nov 29, 2024
1 parent 9c2c1c8 commit 8b51cb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/any/performance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ impl<'map> Performance<'map> {

/// Specify the amount of "small tick" hits.
///
/// Only relevant for osu!standard lazer scores without slider accuracy.
/// Only relevant for osu!standard lazer scores without slider accuracy. In
/// that case, this value is the amount of slider tail hits.
pub fn small_ticks_hits(self, small_tick_hits: u32) -> Self {
if let Self::Osu(osu) = self {
Self::Osu(osu.small_tick_hits(small_tick_hits))
Expand Down
3 changes: 2 additions & 1 deletion src/osu/performance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ impl<'map> OsuPerformance<'map> {

/// Specify the amount of "small tick" hits.
///
/// Only relevant for osu!lazer scores without slider accuracy.
/// Only relevant for osu!lazer scores without slider accuracy. In that
/// case, this value is the amount of slider tail hits.
pub const fn small_tick_hits(mut self, small_tick_hits: u32) -> Self {
self.small_tick_hits = Some(small_tick_hits);

Expand Down

0 comments on commit 8b51cb3

Please sign in to comment.