1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-05 03:22:59 +08:00

Fix judgement text never being added to hierarchy

This commit is contained in:
Bartłomiej Dach 2022-12-24 09:37:40 +01:00
parent f973befcd4
commit 80de5dac66
No known key found for this signature in database

View File

@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Judgements
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
JudgementText = CreateJudgementText(); AddInternal(JudgementText = CreateJudgementText());
JudgementText.Colour = colours.ForHitResult(Result); JudgementText.Colour = colours.ForHitResult(Result);
JudgementText.Text = Result.GetDescription().ToUpperInvariant(); JudgementText.Text = Result.GetDescription().ToUpperInvariant();