1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 18:43:04 +08:00

Remove unnecessary null checks

This commit is contained in:
Dean Herbert 2018-01-18 19:57:49 +09:00
parent b4f2bea37b
commit 97884e1d05

View File

@ -137,8 +137,8 @@ namespace osu.Game.Rulesets.Osu.Objects
if (firstSample != null)
sampleList.Add(new SampleInfo
{
Bank = firstSample?.Bank,
Volume = firstSample?.Volume ?? 100,
Bank = firstSample.Bank,
Volume = firstSample.Volume,
Name = @"slidertick",
});