mirror of
https://github.com/ppy/osu.git
synced 2026-06-04 02:13:39 +08:00
Split local variable assignment from construction of children
This commit is contained in:
committed by
GitHub
Unverified
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(),
|
||||
|
||||
Reference in New Issue
Block a user