1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +08:00

Fixes + cleanup.

This commit is contained in:
smoogipooo 2017-05-30 20:26:39 +09:00
parent fe68e1b1af
commit 0728aea6a4

View File

@ -10,7 +10,6 @@ using osu.Game.Beatmaps.Timing;
using osu.Game.Beatmaps.Legacy; using osu.Game.Beatmaps.Legacy;
using osu.Game.Rulesets.Objects.Legacy; using osu.Game.Rulesets.Objects.Legacy;
using osu.Game.Beatmaps.ControlPoints; using osu.Game.Beatmaps.ControlPoints;
using System.Linq;
namespace osu.Game.Beatmaps.Formats namespace osu.Game.Beatmaps.Formats
{ {
@ -220,7 +219,7 @@ namespace osu.Game.Beatmaps.Formats
{ {
var item = split[i]; var item = split[i];
if (item.StartsWith("$") && variables.ContainsKey(item)) if (item.StartsWith("$") && variables.ContainsKey(item))
item = variables[item]; split[i] = variables[item];
} }
line = string.Join(",", split); line = string.Join(",", split);