Fix TestCaseHitObjects not working at all due to state being set before load is complete.

This commit is contained in:
Dean Herbert
2017-01-24 18:09:45 +09:00
parent 7ee6a50404
commit a2501cc81d
2 changed files with 2 additions and 3 deletions

View File

@ -43,8 +43,8 @@ namespace osu.Game.Modes.Objects.Drawables
state = value;
UpdateState(state);
Expire();
if (IsLoaded)
Expire();
if (State == ArmedState.Hit)
PlaySample();