mirror of
https://github.com/ppy/osu
synced 2024-12-15 19:36:34 +00:00
Split local variable assignment from construction of children
This commit is contained in:
parent
9df525a38d
commit
bed46b1f7e
@ -48,6 +48,7 @@ namespace osu.Game.Rulesets.Judgements
|
||||
private void load(OsuColour colours)
|
||||
{
|
||||
this.colours = colours;
|
||||
|
||||
Child = new SkinnableDrawable($"Play/{Judgement.Result}", _ => JudgementText = new OsuSpriteText
|
||||
{
|
||||
Text = Judgement.Result.GetDescription().ToUpper(),
|
||||
|
Loading…
Reference in New Issue
Block a user