mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +08:00
Better english
Co-Authored-By: Dean Herbert <pe@ppy.sh>
This commit is contained in:
parent
e3a6017562
commit
1d680b7a00
@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
|
||||
/// <summary>
|
||||
/// Whether this <see cref="DrawableOsuHitObject"/> can be hit.
|
||||
/// If not-null, this <see cref="DrawableOsuHitObject"/> will not receive a judgement until this function returns <c>true</c>.
|
||||
/// If non-null, judgements will be ignored (resulting in a shake) whilst the function returns false.
|
||||
/// </summary>
|
||||
public Func<DrawableOsuHitObject, bool> CheckHittable;
|
||||
|
||||
|
@ -90,7 +90,7 @@ namespace osu.Game.Rulesets.Osu.UI
|
||||
{
|
||||
var lastObject = HitObjectContainer.AliveObjects.GetPrevious(osuHitObject);
|
||||
|
||||
// Ensure the last object is not alive anymore, in which case always allow the hit.
|
||||
// If there is no previous object alive, allow the hit.
|
||||
if (lastObject == null)
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user