mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Fix the MOTHERLOAD of undetected issues that are now visible thanks to net6.0
This commit is contained in:
@ -277,7 +277,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
var samples = sampleMap[feedbackSampleType];
|
||||
|
||||
if (samples == null || samples.Length == 0)
|
||||
if (samples.Length == 0)
|
||||
return null;
|
||||
|
||||
return samples[RNG.Next(0, samples.Length)]?.GetChannel();
|
||||
|
Reference in New Issue
Block a user