From 208e94e9be533129024b500b996bb48b41931368 Mon Sep 17 00:00:00 2001 From: tsrk Date: Thu, 24 Aug 2023 21:33:54 +0200 Subject: [PATCH] style(editor/checks): add type nullability for `Stream` --- osu.Game/Rulesets/Edit/Checks/CheckDelayedHitsounds.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Rulesets/Edit/Checks/CheckDelayedHitsounds.cs b/osu.Game/Rulesets/Edit/Checks/CheckDelayedHitsounds.cs index 0591ad866d..6afc8d7a5d 100644 --- a/osu.Game/Rulesets/Edit/Checks/CheckDelayedHitsounds.cs +++ b/osu.Game/Rulesets/Edit/Checks/CheckDelayedHitsounds.cs @@ -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;