mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:12:57 +08:00
Remove no-longer-necessary null propagation
This commit is contained in:
parent
4390798761
commit
2d9c3fbed2
@ -349,13 +349,13 @@ namespace osu.Game.Screens.Edit
|
|||||||
if (batchPendingUpdates.Count == 0 && batchPendingDeletes.Count == 0 && batchPendingInserts.Count == 0)
|
if (batchPendingUpdates.Count == 0 && batchPendingDeletes.Count == 0 && batchPendingInserts.Count == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
beatmapProcessor?.PreProcess();
|
beatmapProcessor.PreProcess();
|
||||||
|
|
||||||
foreach (var h in batchPendingDeletes) processHitObject(h);
|
foreach (var h in batchPendingDeletes) processHitObject(h);
|
||||||
foreach (var h in batchPendingInserts) processHitObject(h);
|
foreach (var h in batchPendingInserts) processHitObject(h);
|
||||||
foreach (var h in batchPendingUpdates) processHitObject(h);
|
foreach (var h in batchPendingUpdates) processHitObject(h);
|
||||||
|
|
||||||
beatmapProcessor?.PostProcess();
|
beatmapProcessor.PostProcess();
|
||||||
|
|
||||||
BeatmapReprocessed?.Invoke();
|
BeatmapReprocessed?.Invoke();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user