mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 08:42:55 +08: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;
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
//force application of the state that was set before we loaded.
|
||||
UpdateState(State);
|
||||
}
|
||||
|
||||
double hit50 = 150;
|
||||
double hit100 = 80;
|
||||
double hit300 = 30;
|
||||
|
@ -68,8 +68,6 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
//force application of the state that was set before we loaded.
|
||||
UpdateState(State);
|
||||
|
||||
body.PathWidth = 32;
|
||||
}
|
||||
|
@ -48,6 +48,9 @@ namespace osu.Game.Modes.Objects.Drawables
|
||||
base.LoadComplete();
|
||||
|
||||
Judgement = CreateJudgementInfo();
|
||||
|
||||
//force application of the state that was set before we loaded.
|
||||
UpdateState(State);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user