mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Use Find instead of FirstOrDefault
This commit is contained in:
@ -135,7 +135,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
{
|
||||
if (userTriggered)
|
||||
{
|
||||
var nextTick = ticks.FirstOrDefault(j => !j.IsHit);
|
||||
var nextTick = ticks.Find(j => !j.IsHit);
|
||||
|
||||
nextTick?.TriggerResult(HitResult.Great);
|
||||
|
||||
|
Reference in New Issue
Block a user