mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00: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)
|
if (NestedHitObjects != null)
|
||||||
{
|
{
|
||||||
foreach (var d in NestedHitObjects)
|
foreach (var d in NestedHitObjects)
|
||||||
{
|
judgementOccurred |= d.UpdateJudgement(userTriggered);
|
||||||
if (d.AllJudged)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
d.UpdateJudgement(userTriggered);
|
|
||||||
|
|
||||||
if (d.AllJudged)
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ProvidesJudgement || hasJudgementResult || judgementOccurred)
|
if (!ProvidesJudgement || hasJudgementResult || judgementOccurred)
|
||||||
|
Loading…
Reference in New Issue
Block a user