Make DrawableHitObject's UpdateState safer by blocking calls at a higher level with not yet loaded.

UpdateState is called in LoadComplete for cases where the state may have changed before a load operation.
This commit is contained in:
Dean Herbert
2017-03-22 09:43:44 +09:00
parent 83d3e37fd4
commit 4f3ab879de
6 changed files with 3 additions and 10 deletions

View File

@ -158,8 +158,6 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
protected override void UpdateState(ArmedState state)
{
if (!IsLoaded) return;
base.UpdateState(state);
ball.FadeIn();