mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix wrong mono streak length handling in corner case
This commit is contained in:
@ -40,8 +40,17 @@ namespace osu.Game.Rulesets.Difficulty.Utils
|
||||
|
||||
this.capacity = capacity;
|
||||
array = new T[capacity];
|
||||
Clear();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Removes all elements from the <see cref="LimitedCapacityQueue{T}"/>.
|
||||
/// </summary>
|
||||
public void Clear()
|
||||
{
|
||||
start = 0;
|
||||
end = -1;
|
||||
Count = 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user