1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 02:22:59 +08:00

Fix checking judgements even if we don't provide a judgement, if we have a result, or if a nested hit object handled a judgement.

This commit is contained in:
smoogipooo 2017-09-12 18:49:50 +09:00
parent 3ef65a1e5d
commit a38e0062a4

View File

@ -157,6 +157,9 @@ namespace osu.Game.Rulesets.Objects.Drawables
} }
} }
if (!ProvidesJudgement || hasJudgementResult || judgementOccurred)
return judgementOccurred;
var endTime = (HitObject as IHasEndTime)?.EndTime ?? HitObject.StartTime; var endTime = (HitObject as IHasEndTime)?.EndTime ?? HitObject.StartTime;
CheckForJudgements(userTriggered, Time.Current - endTime); CheckForJudgements(userTriggered, Time.Current - endTime);