1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 04:23:21 +08:00

Use null conditional rather than implicit not-null

This commit is contained in:
Dean Herbert 2024-05-22 12:06:51 +08:00
parent 1fdebe94ac
commit f979200712
No known key found for this signature in database

View File

@ -758,11 +758,11 @@ namespace osu.Game.Overlays.Mods
}
case GlobalAction.IncreaseModSpeed:
songSelect!.ChangeSpeed(0.05);
songSelect?.ChangeSpeed(0.05);
return true;
case GlobalAction.DecreaseModSpeed:
songSelect!.ChangeSpeed(-0.05);
songSelect?.ChangeSpeed(-0.05);
return true;
}