1
0
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:
Dan Balasescu 2020-03-18 19:13:25 +09:00 committed by GitHub
parent e3a6017562
commit 1d680b7a00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;