mirror of
https://github.com/ppy/osu.git
synced 2025-03-06 01:45:19 +08:00
style: convert to using
declaration for less nesting
This commit is contained in:
parent
5ecd5142d8
commit
5f00d3e2a4
@ -52,8 +52,8 @@ namespace osu.Game.Rulesets.Edit.Checks
|
|||||||
if (!isHitSound(file.Filename))
|
if (!isHitSound(file.Filename))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
using (Waveform waveform = new Waveform(stream))
|
using Waveform waveform = new Waveform(stream);
|
||||||
{
|
|
||||||
var points = waveform.GetPoints();
|
var points = waveform.GetPoints();
|
||||||
|
|
||||||
// Skip muted samples
|
// Skip muted samples
|
||||||
@ -104,7 +104,6 @@ namespace osu.Game.Rulesets.Edit.Checks
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private bool isHitSound(string filename)
|
private bool isHitSound(string filename)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user