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:
parent
b4f2bea37b
commit
97884e1d05
@ -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",
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user