diff --git a/fluXis.Game/Import/FluXisImport.cs b/fluXis.Game/Import/FluXisImport.cs index a4c9fa8d..12d327cf 100644 --- a/fluXis.Game/Import/FluXisImport.cs +++ b/fluXis.Game/Import/FluXisImport.cs @@ -224,6 +224,8 @@ private RealmMapSet getRealmMaps(string path, Guid? id = null) ColorHex = string.IsNullOrEmpty(mapInfo.Colors.AccentHex) ? "" : mapInfo.Colors.AccentHex, }, Difficulty = mapInfo.Metadata.Difficulty ?? "", + AccuracyDifficulty = mapInfo.AccuracyDifficulty, + HealthDifficulty = mapInfo.HealthDifficulty, MapSet = mapSet, Hash = hash, KeyCount = keys, diff --git a/fluXis.Game/Overlay/Settings/Sections/Maintenance/MaintenanceMapsSection.cs b/fluXis.Game/Overlay/Settings/Sections/Maintenance/MaintenanceMapsSection.cs index 8b7a7734..808962f1 100644 --- a/fluXis.Game/Overlay/Settings/Sections/Maintenance/MaintenanceMapsSection.cs +++ b/fluXis.Game/Overlay/Settings/Sections/Maintenance/MaintenanceMapsSection.cs @@ -86,6 +86,13 @@ private void recalculateFilters() continue; var data = map.GetMapInfo(); + + if (data is null) + continue; + + existing.AccuracyDifficulty = map.AccuracyDifficulty = data.AccuracyDifficulty; + existing.HealthDifficulty = map.HealthDifficulty = data.HealthDifficulty; + var events = data.GetMapEvents(); var filters = MapUtils.GetMapFilters(data, events);