1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Adjust monthsPerTick value

This commit is contained in:
Andrei Zavatski 2020-11-22 03:58:56 +03:00
parent e6c116f0ab
commit f07f8089d6

View File

@ -140,8 +140,12 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
int monthsPerTick = 1;
if (totalMonths > 20)
monthsPerTick = totalMonths / 10;
if (totalMonths > 80)
monthsPerTick = 12;
else if (totalMonths >= 45)
monthsPerTick = 3;
else if (totalMonths > 20)
monthsPerTick = 2;
for (int i = 0; i < totalMonths; i += monthsPerTick)
{