Fix typo causing nested windows to be ignored

This commit is contained in:
Derrick Timmermans 2021-07-04 21:50:58 +02:00
parent 0fb16cb55f
commit 32b068fbdc
No known key found for this signature in database
GPG Key ID: 8681B60806EF4A17
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ public HitWindows FirstAvailableHitWindows
foreach (var n in h.NestedHitObjects)
{
if (h.HitWindows.WindowFor(HitResult.Miss) > 0)
if (n.HitWindows.WindowFor(HitResult.Miss) > 0)
return n.HitWindows;
}
}