Rename out of place variable

This commit is contained in:
Dean Herbert 2020-04-27 08:36:36 +09:00
parent 4ca7ce7715
commit 743b4f05b3
1 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,7 @@ private void load()
private BarLine createBarLineAtCurrentTime(bool major = false)
{
var drumroll = new BarLine
var barline = new BarLine
{
Major = major,
StartTime = Time.Current + 2000,
@ -103,9 +103,9 @@ private BarLine createBarLineAtCurrentTime(bool major = false)
var cpi = new ControlPointInfo();
cpi.Add(0, new TimingControlPoint { BeatLength = 500 });
drumroll.ApplyDefaults(cpi, new BeatmapDifficulty());
barline.ApplyDefaults(cpi, new BeatmapDifficulty());
return drumroll;
return barline;
}
}
}