1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 18:03:11 +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]
private void load()
{
JudgementText = CreateJudgementText();
AddInternal(JudgementText = CreateJudgementText());
JudgementText.Colour = colours.ForHitResult(Result);
JudgementText.Text = Result.GetDescription().ToUpperInvariant();