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
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ protected JudgementPiece(HitResult result)
[BackgroundDependencyLoader]
private void load()
{
JudgementText = CreateJudgementText();
AddInternal(JudgementText = CreateJudgementText());
JudgementText.Colour = colours.ForHitResult(Result);
JudgementText.Text = Result.GetDescription().ToUpperInvariant();