adjusted docs
This commit is contained in:
@@ -36,9 +36,9 @@ let stars = diff_attrs.stars();
|
|||||||
// Calculate performance attributes
|
// Calculate performance attributes
|
||||||
let perf_attrs = map.performance()
|
let perf_attrs = map.performance()
|
||||||
// To speed up the calculation, we can use the previous attributes.
|
// To speed up the calculation, we can use the previous attributes.
|
||||||
// **Note** that this should only be done if the map, mode, mods,
|
// **Note** that this should only be done if the map and all difficulty
|
||||||
// clock rate, and amount of passed objects stay the same.
|
// settings stay the same, otherwise the final attributes will be
|
||||||
// Otherwise, the final attributes will be incorrect.
|
// incorrect!
|
||||||
.attributes(diff_attrs)
|
.attributes(diff_attrs)
|
||||||
.mods(24) // HDHR, must be the same as before
|
.mods(24) // HDHR, must be the same as before
|
||||||
.combo(789)
|
.combo(789)
|
||||||
|
|||||||
+3
-3
@@ -30,9 +30,9 @@
|
|||||||
//! // Calculate performance attributes
|
//! // Calculate performance attributes
|
||||||
//! let perf_attrs = map.performance()
|
//! let perf_attrs = map.performance()
|
||||||
//! // To speed up the calculation, we can use the previous attributes.
|
//! // To speed up the calculation, we can use the previous attributes.
|
||||||
//! // **Note** that this should only be done if the map, mode, mods,
|
//! // **Note** that this should only be done if the map and all difficulty
|
||||||
//! // clock rate, and amount of passed objects stay the same.
|
//! // settings stay the same, otherwise the final attributes will be
|
||||||
//! // Otherwise, the final attributes will be incorrect.
|
//! // incorrect!
|
||||||
//! .attributes(diff_attrs)
|
//! .attributes(diff_attrs)
|
||||||
//! .mods(24) // HDHR, must be the same as before
|
//! .mods(24) // HDHR, must be the same as before
|
||||||
//! .combo(789)
|
//! .combo(789)
|
||||||
|
|||||||
Reference in New Issue
Block a user