mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
style(editor/checks): add type nullability for Stream
This commit is contained in:
parent
df55a2f683
commit
208e94e9be
@ -45,7 +45,7 @@ namespace osu.Game.Rulesets.Edit.Checks
|
||||
|
||||
foreach (var file in beatmapSet.Files)
|
||||
{
|
||||
using (Stream stream = context.WorkingBeatmap.GetStream(file.File.GetStoragePath()))
|
||||
using (Stream? stream = context.WorkingBeatmap.GetStream(file.File.GetStoragePath()))
|
||||
{
|
||||
if (stream == null)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user