diff --git a/osu.Game/Beatmaps/BeatmapModelManager.cs b/osu.Game/Beatmaps/BeatmapModelManager.cs
index aa14f95863..250d6653d5 100644
--- a/osu.Game/Beatmaps/BeatmapModelManager.cs
+++ b/osu.Game/Beatmaps/BeatmapModelManager.cs
@@ -185,12 +185,12 @@ private void validateOnlineIds(BeatmapSetInfo beatmapSet)
///
/// Saves an file against a given .
///
- /// The to save the content against. The file referenced by will be replaced.
+ /// The to save the content against. The file referenced by will be replaced.
/// The content to write.
/// The beatmap content to write, null if to be omitted.
- public virtual void Save(BeatmapInfo baetmapInfo, IBeatmap beatmapContent, ISkin beatmapSkin = null)
+ public virtual void Save(BeatmapInfo beatmapInfo, IBeatmap beatmapContent, ISkin beatmapSkin = null)
{
- var setInfo = baetmapInfo.BeatmapSet;
+ var setInfo = beatmapInfo.BeatmapSet;
using (var stream = new MemoryStream())
{
@@ -201,7 +201,7 @@ public virtual void Save(BeatmapInfo baetmapInfo, IBeatmap beatmapContent, ISkin
using (ContextFactory.GetForWrite())
{
- var beatmapInfo = setInfo.Beatmaps.Single(b => b.ID == baetmapInfo.ID);
+ beatmapInfo = setInfo.Beatmaps.Single(b => b.ID == beatmapInfo.ID);
var metadata = beatmapInfo.Metadata ?? setInfo.Metadata;
// grab the original file (or create a new one if not found).
@@ -219,7 +219,7 @@ public virtual void Save(BeatmapInfo baetmapInfo, IBeatmap beatmapContent, ISkin
}
}
- WorkingBeatmapCache?.Invalidate(baetmapInfo);
+ WorkingBeatmapCache?.Invalidate(beatmapInfo);
}
///