1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Fix syntax

This commit is contained in:
Dean Herbert 2020-09-29 20:10:17 +09:00
parent a2e2cca396
commit 5ae6b2cf5b

View File

@ -83,8 +83,7 @@ namespace osu.Game.Rulesets.Osu.Edit
{
Quad quad = getSelectionQuad();
if (!centre.HasValue)
centre = quad.Centre;
centre ??= quad.Centre;
foreach (var h in SelectedHitObjects.OfType<OsuHitObject>())
{