mirror of
https://github.com/ppy/osu
synced 2025-02-19 11:56:58 +00:00
Move initial state updates to DrawableHitObject.
This commit is contained in:
parent
29d15c3ab8
commit
421dd19aaf
@ -64,14 +64,6 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
|||||||
Size = circle.DrawSize;
|
Size = circle.DrawSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LoadComplete()
|
|
||||||
{
|
|
||||||
base.LoadComplete();
|
|
||||||
|
|
||||||
//force application of the state that was set before we loaded.
|
|
||||||
UpdateState(State);
|
|
||||||
}
|
|
||||||
|
|
||||||
double hit50 = 150;
|
double hit50 = 150;
|
||||||
double hit100 = 80;
|
double hit100 = 80;
|
||||||
double hit300 = 30;
|
double hit300 = 30;
|
||||||
|
@ -68,8 +68,6 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
|||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
//force application of the state that was set before we loaded.
|
|
||||||
UpdateState(State);
|
|
||||||
|
|
||||||
body.PathWidth = 32;
|
body.PathWidth = 32;
|
||||||
}
|
}
|
||||||
|
@ -48,6 +48,9 @@ namespace osu.Game.Modes.Objects.Drawables
|
|||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
|
|
||||||
Judgement = CreateJudgementInfo();
|
Judgement = CreateJudgementInfo();
|
||||||
|
|
||||||
|
//force application of the state that was set before we loaded.
|
||||||
|
UpdateState(State);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user