Fix state never getting set.

This commit is contained in:
smoogipooo 2017-09-06 17:20:41 +09:00
parent ac8ec31b61
commit f158ce814c

View File

@ -124,6 +124,18 @@ namespace osu.Game.Rulesets.Objects.Drawables
judgements.Add(judgement);
switch (judgement.Result)
{
case HitResult.None:
break;
case HitResult.Miss:
State = ArmedState.Miss;
break;
default:
State = ArmedState.Hit;
break;
}
OnJudgement?.Invoke(this, judgement);
}