mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Change FindRepetitionInterval to start with one previous encoding
This commit is contained in:
parent
8e0049c005
commit
40b1554fea
@ -60,14 +60,14 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing.Colour.Data
|
||||
/// </summary>
|
||||
public void FindRepetitionInterval()
|
||||
{
|
||||
if (Previous?.Previous == null)
|
||||
if (Previous == null)
|
||||
{
|
||||
RepetitionInterval = max_repetition_interval + 1;
|
||||
return;
|
||||
}
|
||||
|
||||
CoupledColourEncoding? other = Previous.Previous;
|
||||
int interval = 2;
|
||||
CoupledColourEncoding? other = Previous;
|
||||
int interval = 1;
|
||||
|
||||
while (interval < max_repetition_interval)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user