store is_convert in Beatmap itself

This commit is contained in:
MaxOhn
2024-03-02 06:27:52 +01:00
parent 0f23f81234
commit 59dfc109e0
16 changed files with 66 additions and 115 deletions
+1
View File
@@ -38,6 +38,7 @@ pub fn try_convert(map: &mut Beatmap) -> ConvertStatus {
match map.mode {
GameMode::Osu => {
map.mode = GameMode::Catch;
map.is_convert = true;
ConvertStatus::Conversion
}
+1 -1
View File
@@ -53,7 +53,7 @@ impl CatchDifficultySetup {
let attrs = CatchDifficultyAttributes {
ar: map_attrs.ar,
is_convert: converted.is_convert,
is_convert: converted.map.is_convert,
..Default::default()
};