mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 07:22:55 +08:00
Address review and fix InspectCode
This commit is contained in:
parent
6658bdb223
commit
219e14baa2
@ -300,13 +300,11 @@ namespace osu.Game.Beatmaps.Formats
|
||||
switch (type)
|
||||
{
|
||||
case LegacyEventType.Background:
|
||||
string bgFilename = split[2];
|
||||
beatmap.BeatmapInfo.Metadata.BackgroundFile = CleanFilename(bgFilename);
|
||||
beatmap.BeatmapInfo.Metadata.BackgroundFile = CleanFilename(split[2]);
|
||||
break;
|
||||
|
||||
case LegacyEventType.Video:
|
||||
string videoFilename = split[2];
|
||||
beatmap.BeatmapInfo.Metadata.VideoFile = CleanFilename(videoFilename);
|
||||
beatmap.BeatmapInfo.Metadata.VideoFile = CleanFilename(split[2]);
|
||||
break;
|
||||
|
||||
case LegacyEventType.Break:
|
||||
|
@ -71,6 +71,7 @@ namespace osu.Game.Beatmaps.Formats
|
||||
lineSpan = lineSpan.Slice(1);
|
||||
++depth;
|
||||
}
|
||||
|
||||
line = line.Substring(depth);
|
||||
|
||||
decodeVariables(ref line);
|
||||
|
Loading…
Reference in New Issue
Block a user