adjusted docs

This commit is contained in:
MaxOhn
2024-03-04 18:42:27 +01:00
parent 0ed0bc2639
commit bf0afc8809
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -36,9 +36,9 @@ let stars = diff_attrs.stars();
// Calculate performance attributes
let perf_attrs = map.performance()
// To speed up the calculation, we can use the previous attributes.
// **Note** that this should only be done if the map, mode, mods,
// clock rate, and amount of passed objects stay the same.
// Otherwise, the final attributes will be incorrect.
// **Note** that this should only be done if the map and all difficulty
// settings stay the same, otherwise the final attributes will be
// incorrect!
.attributes(diff_attrs)
.mods(24) // HDHR, must be the same as before
.combo(789)
+3 -3
View File
@@ -30,9 +30,9 @@
//! // Calculate performance attributes
//! let perf_attrs = map.performance()
//! // To speed up the calculation, we can use the previous attributes.
//! // **Note** that this should only be done if the map, mode, mods,
//! // clock rate, and amount of passed objects stay the same.
//! // Otherwise, the final attributes will be incorrect.
//! // **Note** that this should only be done if the map and all difficulty
//! // settings stay the same, otherwise the final attributes will be
//! // incorrect!
//! .attributes(diff_attrs)
//! .mods(24) // HDHR, must be the same as before
//! .combo(789)