1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 10:33:07 +08:00

Fix missing unsubscribe from JudgementReverted

This commit is contained in:
Bartłomiej Dach 2021-11-11 18:11:18 +01:00
parent 2e3acffd1d
commit b66758dac7
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -158,7 +158,10 @@ namespace osu.Game.Screens.Play.HUD
base.Dispose(isDisposing);
if (scoreProcessor != null)
{
scoreProcessor.NewJudgement -= onJudgementChanged;
scoreProcessor.JudgementReverted -= onJudgementChanged;
}
loadCancellationSource?.Cancel();
}