From 0728aea6a4f70acdc23774f1167a22eb934652be Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Tue, 30 May 2017 20:26:39 +0900 Subject: [PATCH] Fixes + cleanup. --- osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs b/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs index 600dc1cfea..e9f6c66630 100644 --- a/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs +++ b/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs @@ -10,7 +10,6 @@ using osu.Game.Beatmaps.Timing; using osu.Game.Beatmaps.Legacy; using osu.Game.Rulesets.Objects.Legacy; using osu.Game.Beatmaps.ControlPoints; -using System.Linq; namespace osu.Game.Beatmaps.Formats { @@ -220,7 +219,7 @@ namespace osu.Game.Beatmaps.Formats { var item = split[i]; if (item.StartsWith("$") && variables.ContainsKey(item)) - item = variables[item]; + split[i] = variables[item]; } line = string.Join(",", split);