1
0
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:
Bartłomiej Dach 2024-06-19 11:21:57 +02:00
parent 4390798761
commit 2d9c3fbed2
No known key found for this signature in database

View File

@ -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();