mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:17:26 +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))
|
||||
continue;
|
||||
|
||||
using (Waveform waveform = new Waveform(stream))
|
||||
{
|
||||
using Waveform waveform = new Waveform(stream);
|
||||
|
||||
var points = waveform.GetPoints();
|
||||
|
||||
// Skip muted samples
|
||||
@ -104,7 +104,6 @@ namespace osu.Game.Rulesets.Edit.Checks
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private bool isHitSound(string filename)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user