mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 12:42:54 +08:00
judgementOccurred should be passed upwards
So only one hit object is ever judged in a single frame.
This commit is contained in:
parent
a38e0062a4
commit
92b3e203e8
@ -146,15 +146,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
if (NestedHitObjects != null)
|
||||
{
|
||||
foreach (var d in NestedHitObjects)
|
||||
{
|
||||
if (d.AllJudged)
|
||||
continue;
|
||||
|
||||
d.UpdateJudgement(userTriggered);
|
||||
|
||||
if (d.AllJudged)
|
||||
return true;
|
||||
}
|
||||
judgementOccurred |= d.UpdateJudgement(userTriggered);
|
||||
}
|
||||
|
||||
if (!ProvidesJudgement || hasJudgementResult || judgementOccurred)
|
||||
|
Loading…
Reference in New Issue
Block a user