Move initial state updates to DrawableHitObject.

This commit is contained in:
Dean Herbert 2016-12-06 18:26:21 +09:00
parent 29d15c3ab8
commit 421dd19aaf
3 changed files with 3 additions and 10 deletions

View File

@ -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;

View File

@ -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;
} }

View File

@ -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>