convert map internally for tko & mna

This commit is contained in:
MaxOhn
2022-10-26 22:02:17 +02:00
parent de400b29cf
commit b6ec17fd12
8 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ impl Beatmap {
/// - Since hitsounds are irrelevant for difficulty and performance calculations
/// in osu!mania, the resulting map of a conversion to mania will not contain hitsounds.
/// - To avoid having to clone the map for osu!catch conversions, the field `Beatmap::mode`
/// will not be adjusted in a ctb-converted map.
/// will not be adjusted in a osu!catch-converted map.
#[inline]
pub fn convert_mode(&self, mode: GameMode) -> Cow<'_, Self> {
if mode == self.mode {