mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +00:00
Fix state never getting set.
This commit is contained in:
parent
ac8ec31b61
commit
f158ce814c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user