mirror of
https://github.com/ppy/osu
synced 2025-01-02 04:12:13 +00:00
Simplify return logic
This commit is contained in:
parent
28318a0140
commit
e1acfd26a6
@ -51,10 +51,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
||||
// 1. The last blocking hitobject has been judged.
|
||||
// 2. The current time is after the last hitobject's start time.
|
||||
// Hits at exactly the same time as the blocking hitobject are allowed for maps that contain simultaneous hitobjects (e.g. /b/372245).
|
||||
if (blockingObject.Judged || time >= blockingObject.HitObject.StartTime)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return blockingObject.Judged || time >= blockingObject.HitObject.StartTime;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user