Fix code quality inspection

This commit is contained in:
Bartłomiej Dach 2023-12-28 14:12:28 +01:00
parent 6718de01ec
commit 619b0cc69b
No known key found for this signature in database

View File

@ -160,11 +160,11 @@ namespace osu.Game.Screens.Play.PlayerSettings
// Apply to all difficulties in a beatmap set for now (they generally always share timing). // Apply to all difficulties in a beatmap set for now (they generally always share timing).
foreach (var b in setInfo.Beatmaps) foreach (var b in setInfo.Beatmaps)
{ {
BeatmapUserSettings settings = b.UserSettings; BeatmapUserSettings userSettings = b.UserSettings;
double val = Current.Value; double val = Current.Value;
if (settings.Offset != val) if (userSettings.Offset != val)
settings.Offset = val; userSettings.Offset = val;
} }
}); });
} }